Hi everyone. I am running a project with 6 button press. Its a counter.
When i switched off the arduino, values are goes to 0. I want to fix it with eeprom but i cant understand how does it works. If someone can help me please.. Hit me an email.
Thanks a lot.
Did you have a look at the documentation?
Edit your post and remove the email address. Help is provided on the forum, and the spammers will love the free address!
Missdew , thank you.
Maybe , can you help me if i send you my code please??
Στις Πέμ 28 Ιουλ 2022 στις 12:33 μ.μ., ο/η missdrew via Arduino Forum <notifications@arduino.discoursemail.com > έγραψε:
Missdew [sic] specifically just said that .....
Arduino project
I am posting the url. Please can someone say me what can i change to have eeprom in my program??
@kwstakis12
1. You need a way to tell the MCU that you have switched off the power; as a result, 5V is slowly going down.
2. When 5V reaches at 4.5V, then make an arrangement to interrupt the MCU to save your counter value into the EEPROM.
3. At power up, the MCU will read the EPROM, and it update the counter.
system
Closed
January 24, 2023, 2:12pm
9
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.