Commit Graph
2 Commits
Author SHA1 Message Date
Tomas Hübner 5bfc57b1d2 Bug fixes and unit tests (#14)
Added unit tests for I2C_eeprom_cyclic_store and fixed a bug in the format() method and a possible bug with the "empty" marker literal being expressed as ~0UL (which isn't necessarily the same size as a uint32_t).
2021-01-07 18:05:51 +01:00
Tomas Hübner 98235dfd82 Addition of a utility class for cycling writes (#8)
I2C_eeprom
*  Added page sizes for larger memory sizes (still deriving from the ATxxCxxx datasheets)

I2C_eeprom_cyclic_store
* Add the cyclic store implementation.
* Add an example for cyclic use of EEPROM.
* Update keywords.txt for syntax highlighting the new class and it's members.
* Changed signature of begin() to match page size data type.
* Add getMetrics() to have an indication about lifetime
2021-01-04 08:33:22 +01:00