How would I save a variable value across power off. If I simply don't initialise it will it just have the previous value? However, for the first time how would I detect that it has not been given a value.
I would like to set a value from my android over Bluetooth using B4a, but have this value stored permanently until I connect again and send another value.
The EEPROM is in most cases the only persistent storage available. As a persistent storage we can use it to store data that will not be lost when the board is turned off. The rEEPROM library allows us to read and write from the EEPROM. This example shows how to read and write from the EEPROM...