Hello
How can I read and write in the internal Eeprom from the Pic16F628 device?
Thanks
Pedro
Hello
How can I read and write in the internal Eeprom from the Pic16F628 device?
Thanks
Pedro
Follow this program which is functional -
CntRec VaR Byte ' Value to store in EEPROM
Loc1 CON 0 ' Memory location of EEPROM to store data
' CntRec is stored in EEPROM from previous writes
Read Loc1, CntRec ' Read EEPROM Location "Loc1" store in "CntRec"
.
.
.
CntRec = CntRec + 1
WRITE Loc1,CntRec ' updates CntRec in EEPROM
Bookmarks