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

Help_INTERRUPT

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



Joined: 26 Jun 2011
Posts: 5

View user's profile Send private message

Help_INTERRUPT
PostPosted: Wed Nov 16, 2011 2:28 am     Reply with quote

Hi, I write because I need clarification on the use of the interrupt. I wrote some time ago and in this regard I refer to the example provided by the CCS that the file EX_PATG. Some might explain this example? I need to flash 4 LED with frequency from 1 Hz to 60 Hz in 1 Hz steps going but I can not set the interrupt value; use a clock = 20000000 and a baud rate of 115200.
Thanks and sorry for not perfect English.
temtronic



Joined: 01 Jul 2010
Posts: 9249
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Nov 16, 2011 8:53 am     Reply with quote

You could look at the example that CCS provides in the 'examples' folder.
Named 'EX_STWT.C", it should help you
also in the 'code library' here ont he forumn, there's a SW RTC program, that works very well and easy to 'trim' down to just sending 'main' a 'flag' every second instead of the full function RTC that is coded.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Nov 16, 2011 3:14 pm     Reply with quote

Please don't start a new thread for each question about Ex_Patg.c,
because you already have a thread on it here:
http://www.ccsinfo.com/forum/viewtopic.php?t=45727


Quote:
I refer to the example provided by the CCS that the file EX_PATG.
Some might explain this example?

This thread has an explanation of Ex_patg.c by ckielstra:
http://www.ccsinfo.com/forum/viewtopic.php?t=33907
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