eeprom
所属分类:单片机开发
开发工具:C/C++
文件大小:1KB
下载次数:65
上传日期:2009-04-26 09:50:07
上 传 者:
川子
说明: AT24C512的读写操作,我们将24c512的两条总线接在了P36和P37上,因此,必须先定义:
sbit SCL=P3^6 sbit SDA=P3^7 在这个试验中,我们写入了一组字节数值到24c512的0x0081为首的位置。
然后在将其读出并在P1口显示
(AT24C512 operations of reading and writing, we will take the bus two 24c512 in the P36 and P37, therefore, must be defined: sbit SCL = P3 ^ 6 sbit SDA = P3 ^ 7 in this test, we write a set of byte values to 0x0081, led by the 24c512 position. Then be read out and displayed in the P1 I)
文件列表:
eeprom.c (3307, 2009-04-26)
近期下载者:
相关文件:
收藏者: