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

Programming interrupts on a 16f88 in C

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







Programming interrupts on a 16f88 in C
PostPosted: Fri Feb 24, 2006 11:43 am     Reply with quote

Hey, this is a really basic question, but how does one program interrupts on a 16f88 in C?

I tried Void Interrupt Name { } and it wouldn't compile.

I tried Void Interrupt { } and it compiled, but never actually interrupted.

Thanks.
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Fri Feb 24, 2006 12:24 pm     Reply with quote

You use #INT_xxx immediately before your interrupt service routine, where xxx is the interrupt you are waiting for. The 16f88.h file should list all the options available for that device.

Search this forum for several recent examples
_________________
The difference between genius and stupidity is that genius has its limits...
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