View Full Version : internal eeprom in pic16F628
Pedro Pinto
- 5th October 2005, 22:40
Hello
How can I read and write in the internal Eeprom from the Pic16F628 device?
Thanks
Pedro
rhino
- 5th October 2005, 22:49
Look in the PBP manual for the DATA, READ, and WRITE commands.
Pedro Pinto
- 5th October 2005, 23:11
Hello
Thank You
Pedro
Mike96
- 5th December 2005, 06:21
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
Powered by vBulletin® Version 4.1.7 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.