bauche
Joined: 06 Nov 2010 Posts: 22 Location: montreal qc
|
Prob countdown timer--eeprom |
Posted: Tue Nov 09, 2010 5:57 am |
|
|
My project it's a coutdown timer..my coutdown work ...i write elapsed time in eeprom (it's work...finally!!! )
but my code to write in eeprom write in seconds...i want it in minute cause in seconds after few day the eeprom...destroy i put the code i use for read/write eeprom in my project(working in seconds )
Code: | pulse = read_eeprom(0);
lcd_gotoxy(1,1);
printf(lcd_putc, "%lu ", pulse);
pulse++;
write_eeprom(0, pulse);
lcd_gotoxy(1,2);
printf(lcd_putc, "%lu ", pulse); |
the pulse++ catch impulsion i tried every way to divide or catch in minutes instead of seconds....help would be very appreciated....
Thanks.... |
|