EEPROM.txt
代码说明:
基于pic16f676 EEPROM的问题 用软件仿真没问题,但烧到片子里,不能正常运行。情况是这样的:假如循环向EEPROM中写数据,9,8,7,6,5,4,3,2,1,然后读,发现每一位读出的都一样,是写循环中第一个写进去的字节,也就是9。其他的并没有写进去。 EEPROM的写通过判断标志位就可以,但是在下一次写之前要清除上一次写完成的标志位。也就是说,每次写完要清除完成标志位,否则下一次写不进去。(Based on pic16f676 EEPROM problem With the software simulation no problem, but burn to film, not normal operation. The fact of the matter is: if cycle to write the data of EEPROM, 9,8,7,6,5,4,3,2,1, then read, and found that each of the read, write the first cycle is written in bytes, also is 9. The other are not written in. Write through the judgement of EEPROM sign a can, but in the next write to remove the last completed before writing the sign of a. That is, every time to remove the written finish marks a, or the next write in. )
下载说明:请别用迅雷下载,失败请重下,重下不扣分!