[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

Storing Data in EEPROM RSS feed
Forum Index » tcMenu Arduinio library
Author Message
blook


Joined: Oct 6, 2019
Messages: 1
Offline
Hi,

i have some problems saving the values into the EEPROM. Where is the best place to call the menuMgr.save(eeprom) function?
I use a NANO and the 5110 test sample provided.

Thanks
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
Could you elaborate on the issue please, for example:

Does it fail to save / write corrupt data?

I’m not familiar with the nano, is it an AVR unit? If so are you using the inbuilt eeprom?

The best place to save is either to provide a save function somewhere on the menu, or to detect the power down state and then save during the power loss detection. See this page.

https://www.thecoderscorner.com/electronics/microcontrollers/psu-control/detecting-power-loss-in-powersupply/
 
Forum Index » tcMenu Arduinio library
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.