Use a PIC with built-in EEPROM data memory, like the 16F84 for example. Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) ----- Original Message ----- From: Gonzalo Jim=E9nez Yamasaki To: Sent: Monday, August 21, 2000 7:55 PM Subject: [PIC]: It is possible to use program memory as data memory? Hi All: The point is, I'd like to have some memory that doesn't "leave" with lost power, I mean, if I made a change of some memory value (variable) it remains even though I turn the device off... I guess I=B4m not clear, so I'll try to improve... I.e. I have a device that counts external events, let's say I've alre= ady counted 5 (I'm storing that data in a variable) in that moment I turn the device off, but next time I want my device to begin counting from 5 to up= ... It is possible to do? if the answer is yes, please tell me how... That's why I was thinking of using program memory as data memory... Thanks in advance, Gonzalo -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu