Save variables permanent for power cycle
-
Is there a way to save a variable value permanent. So after a power cycle I can use this value?
Currently I have to set the value in the UIflow and flash the AtomMatrix.
-
@mchott I tried several things including EEPROM.
Is it possible that the EEPROM function on the Atom Matrix simply does not exist? The button B on the side does not exist in UIflow either.
-
Hello @mchott
EEPROM function works for me - see below. However what I found is that reading a value (after storing it) takes a couple of seconds until the new value is read. Second I found
EEPROM read key ... to intdoesn't work for me.AFAIK there is no button B on M5Atom (lite or Matrix). The button on the side is a hardwired reset button.

Thanks
Felix -
@felmue Super!!!
The EEPROM seem to have some problems with integer values and fast timing.
I store my integer now as string and wait until read is finished and it works.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login