〖说明〗24LC65 I2C EEPROM字节读写驱动程序,芯片A0-A1-A2要接VCC。 现缺页写、页读,和CRC校验程序。以下程序经过50台验证,批量的效果有待考 察。 为了安全起见,程序中很多NOP是冗余的,希望读者能进一步精简,但必须经过验 证。
上传时间: 2016-01-24
上传用户:lixinxiang
将运算的结果(浮点数)存入eeprom中。我们知道,浮点数在c语言中是以ieee格式存储 的,一个浮点数占用四个字节,例如浮点数34.526存为(160,26,10,66)这四个数。要 将一个浮点数存入eeprom,实际上就是要存这四个数。那么如何在程序中得到一个浮点数的 组成数呢? 浮点数在存储时,是存储连续的字节中的,只要设法找到存储位置,就可以得到这些数了。 可以定义一个void的指针,将此指针指向需要存储的浮点数,然后将此指针强制转化为char型,这样,利用指针就可以得到组成该浮点数的各个字节的值了!
上传时间: 2014-01-21
上传用户:a673761058
用atmega16做的一个锂电池充电器程序,包含了AD采集,PWM控制等基本模块.
上传时间: 2016-01-24
上传用户:PresidentHuang
陀螺仪的驱动程序,用ATMEGA16编写,使用AD7715做AD采集,16BIT精度.
上传时间: 2016-01-24
上传用户:hanli8870
将s3c2410片内ad转换的数据通过串口上传
上传时间: 2016-01-24
上传用户:zmy123
本程序利用CCS在TMS320F2812实现了DSp的AD采样
上传时间: 2013-12-25
上传用户:hphh
LPC2114 AD采集 uVison2环境编辑,C语言
上传时间: 2016-01-24
上传用户:alan-ee
在AD服务器上运行“设置域服务器安装脚本”,选择你希望自动安装代理的用户,按“Set”按钮,这样这些用户在登录域时就会自动安装的代理并运行。
上传时间: 2016-01-24
上传用户:拔丝土豆
这是一个基于AT89C2051的AD采样(不需要AD芯片,在特定的时候是不是很有诱惑力
上传时间: 2013-12-30
上传用户:lxm
ATMEL TWI接口的EEPROM读写程序。支持8字节页写操作。支持32Kbit以上的大容量EEPROM。
上传时间: 2013-12-10
上传用户:zhengjian