Shop OBEX P1 Docs P2 Docs Learn Events
how to store in eeprom — Parallax Forums

how to store in eeprom

PotatoPotato Posts: 18
edited 2010-02-16 04:53 in Propeller 1
I would like to store a true or false bit in the eeprom. I need to be able to turn the power to my project off, turn it on the next day and read the value (T or F) from the previous day.
As far a that goes how do I save a 8 bit number? Or, save an ascii word? I also need to be able to change the value (T of F), or 8 bit number or word, from within my program.
Would someone point me in the right direction, please.
Thanks

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-02-16 04:53
    Browse back through this forum for previous questions on reading and writing to EEPROM. Download the "Basic I2C Driver" from the Propeller Object Exchange. There's a simple example in the comments at the beginning and descriptions of each of the routines in the comments.
Sign In or Register to comment.