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

"Expected =" Compiler Error at beginning of interr

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



Joined: 06 Jun 2007
Posts: 2

View user's profile Send private message

"Expected =" Compiler Error at beginning of interr
PostPosted: Wed Jun 06, 2007 7:32 am     Reply with quote

I am using a 16F87 PIC. I need an interrupt on overflow, so I am using the TIMER1 overflow interrupt. The problem I am encountering is a "Expected =" right at the beginning of the interrupts function call.

#int_TIMER1
void TIMER1_isr() <- "Expected =" error here

If you need me to post any extra code or information, I'll be happy to do so.

Thanks,
EJensen
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Wed Jun 06, 2007 8:25 am     Reply with quote

Please post the interrupt routine so we can see what's going on with it.
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Wed Jun 06, 2007 9:09 am     Reply with quote

Most likely the error is in one of the lines just before the indicated line.
EJensen



Joined: 06 Jun 2007
Posts: 2

View user's profile Send private message

PostPosted: Wed Aug 29, 2007 7:45 am     Reply with quote

Aaaaah, ckielstra you are correct.

The error was in the last line of my include file. The #include directive being just before the line indicated in the error message.

Thanks.
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