SaveState(): How to save and load bigger value
-
Hi,
i have build an water flow sensor and want to save the total flow value in mL in the eeprom.
Is there a way to use the saveState and loadState from MySensors v2.0? The value will grow a long number, so it´s not only a "state" like 0/1 from switch/relay.Thanks and best regards,
vga
-
@vga see the last three posts in this thread for information on how to save values that need more than one byte.
-
@vga,
Just watch out writing too frequently to the poor EEPROM.