hello..
i use pic16f84a for count something.. but if power supply off the data is lost.
how can i save the data in pic and if i on the supply back the data will be use.
can some one help me.
hello..
i use pic16f84a for count something.. but if power supply off the data is lost.
how can i save the data in pic and if i on the supply back the data will be use.
can some one help me.
Save the data to the on-board EEPROM - I think the F84 has 64 bytes.
MELabs has sample code to do what Archilochus suggest here
http://www.melabs.com/resources/samples/pbp/eeword.bas
also check the samples file in your PBP folder for another example (ee.bas)
Paul Borgmeier
Salt Lake City, Utah
USA
thankQ.
i try this tonight
and how can i give signal for write data to eeprom before power supply off.
i cant save the data every time because my system loop forever
Last edited by PoTeToJB; - 11th May 2006 at 18:27.
there is a code example post by Melanie that addresses this as far as I remember. Do a quick search, youll find it.
thankQ
now i know how to read and write data to pic.
i have anathor question.
can i use interrupt and write progran to save data in pic..
i try use interrupt and write program to write data to pic. but cant function..
why..
or i cant use write program if i use interrupt
Last edited by PoTeToJB; - 14th May 2006 at 17:24.
Bookmarks