搜索资源列表
pic32
- 用PIC单片机实现64位整数的运算,在控制算法中经常要用到-PIC MCU 64-bit integer arithmetic, the control algorithm is used often
FtoI
- 一个浮点数和整数互相转换的测试程序, 不依赖于浮点库, 效率高,适合移植于单片机.-an integer and float transferable test procedure is not dependent on the floating-point, high efficiency, MCU suitable for transplant.
4_bit_calculator
- 单片机计算器 用c写的 用proteus仿真成功 并且实际硬件电路调试也成功 只能计算整数-SCM calculators used by the write c proteus successful simulation and actual hardware circuit debugging also successfully only integer computation
usefulMCUdevelopmentprogramme
- 实用的单片机开发与应用程序,包括:中值滤波子程序,AD转换类程序,16、32位整型数开方,单片机音乐程序--祝你平安。对初学者很有帮助的。MCU development and practical applications, including: median filter subroutine, AD converter type of proceeding, 16,32-bit integer number prescribing, SCM music program - I wish yo
calc
- This sample displays a basic integer calculator powered by the 8051 microcontroller. Although Keil C51 has a full floating point math library the evaluation version is restricted to 2k of object code, so we have constrained this sample to in
MSP430BUADsisuanqi.rar
- MSP430波特率计算器,直接输入波特率就产生对应的寄存器值,包括整数和小数部分,使用很方便,MSP430 baud rate calculator, direct input baud rate is generated corresponding register values, including the integer and fractional parts, very easy to use
ds18b20.rar
- pic单片机 18B20温度传感器和六位数码管显示温度结果,其中整数部分2位,小数部分4位,pic Singlechip 18B20 six digital temperature sensor and display temperature results, in which two integer part, fractional part 4
kangtuo
- The Cantor expansion of the natural number x is x = ak * k!+a(k − 1) *(k − 1)!+.... + a2 * 2!+a1*1! where all the ai (digits) satisfy 0 ≤ ai ≤ i it is easy to find a algorithm,we find the largest integer k that can satisfy 给一个正整数求出它的康
19264
- 19264驱动,实现了显示汉字字符,整数,浮点数,还有画图形菜单等等功能-19264 drive, enables the display Chinese characters, integer, floating point, and draw functions, etc. Graphics Menu
PT100
- 包括两个pt100线性化的程序,一个是温度测出为整数,另一个测出的温度为小数,精度更高-Including two pt100 linearization procedure, one is the temperature measured by an integer, and the other measured the temperature of the decimal precision higher
12864
- 12864驱动,实现了显示汉字字符,整数,浮点数,还有画图形菜单等等功能-12864 drive, enables the display Chinese characters, integer, floating point, and draw functions, etc. Graphics Menu
longint_sqrt
- 32位长整型开方函数,可将32位长整型数开根号得到16位整型数-32-bit long integer square root function can be 32-bit long integer square root to get 16-bit integer
PID-C
- DEscr iptION This function initializes the pointers in the _pid structure to the process variable and the setpoint. *pv and *sp are integer pointers.-DEscr iptION This function initializes the pointers in the _pid structure to the process var
DHRY
- The DHRY program performs the dhrystone benchmarks on the 8051. Dhrystone is a general-performance benchmark test originally developed by Reinhold Weicker in 1984. This benchmark is used to measure and compare the performance of different
ADDSubtractMultiplyDivide
- 实现了任意长度整数的加减乘除以及成n次方运算-The realization of arbitrary length integer addition and subtraction, multiplication and division, as well as computing power into n
eeprom
- 本代码完成了对AVR单片机的eeprom的操作。在EEPROM中读写字符型(char)数据和整型(int)数据。-Of the code completed the AVR MCU EEPROM operation. EEPROM read and write in the character (char) data and integer (int) data.
double_led
- 双数码管可调秒表,。由于单片机I/O资源足够,所以双数码管可接成静态显示方式,两个共阴数码管分别接在P1(秒十位)和P2(秒个位)口,它们的共阴极都接地,安排两个按键接在P3.2(十位数调整)和P3.3(个位数调整)上,为了方便计时,选用12MHz的晶体。为了达到精确计时,选用定时器方式2,每计数250重载一次,即250us,定义一整数变量计数重载次数,这样计数4000次即为一秒-Dual digital tube adjustable stopwatch. Because of single-
ds18b20
- 实验目的:熟悉DS18B20的使用 //六位数码管显示温度结果,其中整数部分2位,小数部分4位 //每次按下RB0键后进行一次温度转换。 //硬件要求:把DS18B20插在18B20插座上 -The purpose of the experiment: the use of familiar DS18B20// 6 the results of the digital temperature display, in which two integer part, fraction
1602drive
- 基于M16的字符液晶1602的驱动,带有直接处理正负浮点数和正负整数并且将数值显示的函数。硬件使用6根线,方便调试,更方便移植,有测试程序。-M16 based on the character LCD 1602 driver, deal directly with the positive and negative with the positive and negative integer and floating-point numbers and will be a function o
An-integer-
- 一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少? 1.程序分析:在10万以内判断,先将该数加上100后再开方,再将该数加上268后再开方,如果开方后 的结果满足如下条件,即是结果-An integer that is a perfect square plus the 100, plus the 168 is a perfect square, what is the number? 1 Program Analysis: less