I am working with an Arduino chip, with which I want to be able to change some parameters by sending it messages onto the serial port. For some reason I do a software reset of the Arduino program every 24 hours.
So I was thinking of saving these parameters into the EEPROM.
I have two questions :
- If I want to write a variable into EEPROM which has the same value as the one already saved, am I sure that the writing process will not use a cycle using EEPROM.put ? I know there are 100 000 cycles for each bit so I want to be sure.
- The parameters I want to change have an initial value which are assigned at the beginning of the program. How can I be sure that the Arduino will not rewrite those initial values onto the EEPROM after the daily reboot if they have later been changed by the user ?
Thank you. :)