firmata / protocol

Documentation of the Firmata protocol.
993 stars 152 forks source link

SYSEX commands for reading and writing key-value pairs to EEPROM #60

Open monteslu opened 8 years ago

monteslu commented 8 years ago

based on this discussion: https://github.com/firmata/arduino/issues/257#issuecomment-216350738

Would it make sense to use the otherwise unused (in most firmata devices) EEPROM as a simple key-value store?

soundanalogous commented 8 years ago

That is one option and it could use EEPROM or other persistent storage (I think some newer boards don't use EEPROM but there is a way to emulate it somehow) - in that the interface would just be for key/value pairs, another is a more generic wrapper for EEPROM. There has also been talk over the years about using EEPROM internally in Firmata to maintain and restore state. Early on (Firmata v1) used EEPROM in this way if I remember correctly. It was removed in later versions for some reason.

soundanalogous commented 8 years ago

https://github.com/firmata/arduino/issues/237