hi from a newbe !
In my project ,micro controller need to change some values of the program, depending to the days that passed.
For example if we are on day 1 ,the he keep the temperature of the room ,to 23 Celcius . On day 2 the temperature must set to 25 C.
I will use an internal clock to count days.Something like this code http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1227406778/all
The problem is that if power lost (or reset) , then the arduino will start again fron day one.
I want every 6 hours arduino ,store the days passed (2 days and 6 hours, or 2 and 1/4 ,or something similar).So and after every reboot ,arduino, first read those data and continue counting. If I store time every minute ,maybe it will be a problem with eeprom and from the other hand, loosing 6 hours is not a big problem .
If my all idea of solving this problem is wrong, please feel free to guide me. Thank you