Shop OBEX P1 Docs P2 Docs Learn Events
Using EEPROM for storing values. — Parallax Forums

Using EEPROM for storing values.

NaguNagu Posts: 11
edited 2007-02-22 17:53 in BASIC Stamp
I have a BOE-BOT..........can someone help me out whether i can use the EEPROm for storing values instead of usual variable declaration............If possible how can I read / write my values thru this procedure.........


Post Edited By Moderator (Chris Savage (Parallax)) : 2/22/2007 10:40:25 PM GMT

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-02-22 16:31
    Read the section in the PBasic manual on the READ/WRITE statements. If you have questions then, feel free to post them.
  • allanlane5allanlane5 Posts: 3,815
    edited 2007-02-22 17:53
    The EEPROM will store values -- but to use them, you'll need to READ them back into a variable. So this won't save you variable space.

    Why, what is the problem you're having?

    Oh, also note the EEPROM is limited to 1 million writes. This isn't a problem if programming it, or writing once a day, but would be a problem if writing it once a second.
Sign In or Register to comment.