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 CCS Technical Support

How to reset MCU on timely basis ?

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








How to reset MCU on timely basis ?
PostPosted: Wed Oct 01, 2008 8:22 pm     Reply with quote

Hi , can share any idea how to reset PIC16Fxx MCU on every 1 hour ?
Can use delay_cycle(x ); ?
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Thu Oct 02, 2008 12:06 am     Reply with quote

The solution depends on what the processor has to do else, except for awaiting a reset...

For a precise timing, a timer interrupt incrementing a tick counter is most likely a flexible solution. Timer interrupt examples can be found in the CCS C Examples directory.
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