Hi, everyone.
I will do a project that has 2 setting in one Arduino coding system.
The settings are called 'default setting' and 'cycle setting'.
And, as far as I know...
Arduino will reset the system back to its original coding state.
So, can I build two different setting in one Arduino system and make the setting stay although the Arduino has been Off?
*Note that,
this project requires a button to set/change from the 'default setting' to the 'cycle setting'.
And, once the 'cycle setting' is On, it will stay On although the Arduino is off.
Kindly needs supervise from Arduino society...
Thank you.
Be very careful with the eeprom write, since if you accidentally do it every time through loop() rather than an update, you'll soon hit the 100k write limit and then you're screwed.
Quote from the page I linked:
The EEPROM memory has a specified life of 100,000 write/erase cycles, so using this function instead of write() can save cycles if the written data does not change often