Shop OBEX P1 Docs P2 Docs Learn Events
Writing to eeprom — Parallax Forums

Writing to eeprom

agimuhingagimuhing Posts: 39
edited 2011-01-19 20:22 in Propeller 1
How do you command a program to write to the eeprom?

ie: save file for videogame

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-01-19 17:12
    Programs have to manage their own writing to EEPROM. Look in the Object Exchange for "Basic I2C Driver 1.3" and read the comments at the beginning. The EEPROM deals in individual bytes rather than files. The Driver includes routines to read and write bytes, words, and longs given an address.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2011-01-19 20:22
    Here's a thread about writing to EEPROM.

    I think the object posted in the first post doesn't release the I2C lines. See post #5 to see what I've done to fix it.

    I'm not sure if the version posted is the same one I tried out years ago. The problem might have been fixed.

    Duane
Sign In or Register to comment.