CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Prob countdown timer--eeprom

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bauche



Joined: 06 Nov 2010
Posts: 22
Location: montreal qc

View user's profile Send private message Send e-mail

Prob countdown timer--eeprom
PostPosted: Tue Nov 09, 2010 5:57 am     Reply with quote

My project it's a coutdown timer..my coutdown work ...i write elapsed time in eeprom (it's work...finally!!! Very Happy )

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 Crying or Very sad )
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....
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Tue Nov 09, 2010 10:16 am     Reply with quote

Please do not open a new thread, your question should be posted in your previous post:
http://www.ccsinfo.com/forum/viewtopic.php?t=43973
in order to not to be guessing what you talking about.

Thanks
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group