Flowcode EEPROM component is a specialized tool within the Flowcode environment that allows developers to interface with the non-volatile memory of a target microcontroller. This component is essential for storing persistent data, such as user settings, calibration constants, or log data, that must remain intact even when the device is powered down. Flowcode Embedded Key Features of Flowcode EEPROM Target Memory Access
Unlike standard "ReadByte" and "WriteByte" functions, the exclusive component offers: flowcode eeprom exclusive
abstracts complex I2C or SPI protocols into accessible macros. Fundamental Macros : Essential operations include Complex Data Handling : Advanced implementations utilize ReadString WriteString Flowcode EEPROM component is a specialized tool within
Marco designed an exclusive-access pattern. He created a simple lock variable in RAM: EEPROM_Locked. Before any block wrote settings, it checked EEPROM_Locked; if false, it set the lock, wrote the record to EEPROM, verified the write by reading it back, and then cleared the lock. If the lock was already set, the writer retried after a short delay. For extra safety he implemented a checksum field with each settings record so a startup routine could detect corrupt data and restore defaults. Before any block wrote settings, it checked EEPROM_Locked;
That is it. Zero manual address calculations. Zero risk of writing individual bytes.