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

interrupt problem

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



Joined: 12 Mar 2006
Posts: 20

View user's profile Send private message

interrupt problem
PostPosted: Sun Apr 27, 2008 3:18 am     Reply with quote

how can i make the system interrupt for every 60 second? and how can i calculate the cycle if i'm using 4 MHz crystal ? newbie in interrupt, thanks
KU5D



Joined: 10 Feb 2008
Posts: 46
Location: Asheville, North Carolina

View user's profile Send private message

PostPosted: Sun Apr 27, 2008 8:32 am     Reply with quote

Can you be a bit more specific? What is it you're trying to do?
_________________
Confidence is the feeling you have right before you fully understand the situation...
handsprince



Joined: 12 Mar 2006
Posts: 20

View user's profile Send private message

PostPosted: Sun Apr 27, 2008 7:54 pm     Reply with quote

means how can i make the timer to overflow for every 60 seconds
foodwatch



Joined: 18 Apr 2006
Posts: 66

View user's profile Send private message Yahoo Messenger

PostPosted: Sun Apr 27, 2008 8:05 pm     Reply with quote

Look in the Code Forum at the real time clock code. You should be able to get fairly decnt timing using tmr overflows...
foodwatch



Joined: 18 Apr 2006
Posts: 66

View user's profile Send private message Yahoo Messenger

PostPosted: Sun Apr 27, 2008 8:06 pm     Reply with quote

Look at this post in the code section:

Timer based Real Time Clock (RTC)
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