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

clock with timer

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



Joined: 19 Sep 2010
Posts: 5

View user's profile Send private message

clock with timer
PostPosted: Wed Sep 29, 2010 8:45 pm     Reply with quote

Anybody can teach me how to combine this two program or I mean to have another rtcc then when I push the designated switch the program of timer will run.

Anybody can give me an idea or to give some sample program to make that. Please help me.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Sep 29, 2010 10:07 pm     Reply with quote

I'm not sure exactly what you want, but it's possible that this multi-tasking
thread will help:
http://www.ccsinfo.com/forum/viewtopic.php?t=17189
HGHK



Joined: 29 Jun 2010
Posts: 33

View user's profile Send private message Yahoo Messenger

use RTC IC like pcf8563
PostPosted: Tue Oct 05, 2010 3:59 am     Reply with quote

you can use a low power RTC clock and when you like (for example when waked up) you use internal Timer to calculate time. i prefer you PCF8563 to use. it have I2C and Interrupt and Clock out for use.

Last edited by HGHK on Tue Oct 05, 2010 4:02 am; edited 1 time in total
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