non-volatile-u32-counter

maksimbaturin/non-volatile-u32-counter/non-volatile-u32-counter

A non-volatile integer counter with a calculation result from 0.00 to 4294967000.00. The result of the calculations is converted into a 32-bit unsigned integer, represented as four bytes. The result of the calculations is recorded in the eeprom by a signal from the voltage monitoring port. After resuming the voltage on the chip, the eeprom is read first, followed by further calculations. The resulting number can be further used in subsequent calculations or displayed on the LCD.
non-volatile-u32-counter
@/non-volatile-u32-counter
A non-volatile integer counter with a calculation result from 0.00 to 4294967000.00. The result of the calculations is converted into a 32-bit unsigned integer, represented as four bytes. The result of the calculations is recorded in the eeprom by a signal from the voltage monitoring port. After resuming the voltage on the chip, the eeprom is read first, followed by further calculations. The resulting number can be further used in subsequent calculations or displayed on the LCD.
VALnumber
An integer from the counter for calculations and writing to memory.
SIGboolean
The pulse of writing to memory
CLRboolean
Сomplete memory cleanup
UPDpulse
Trigger the read function
non-volatile-u32-counter
OUT
String
OK
DONE
VAL
SIG
CLR
UPD
DONEpulse
The signal after completing the task.
OKpulse
Emitted after calling EEPROM.write
Stringstring
OUTnumber
An unsigned integer value that is read from the address after calculations.
To use the node in your project you should have the maksimbaturin/non-volatile-u32-counter library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.