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

#int_rc -> Invalid Pre-Processor directive ?

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



Joined: 16 Sep 2003
Posts: 71
Location: Moers, Germany

View user's profile Send private message

#int_rc -> Invalid Pre-Processor directive ?
PostPosted: Mon Jan 05, 2004 6:15 am     Reply with quote

Hello folks,
I wish you all a healthy new year and and a lot of pleasant time also in this forum. ;-)

Ok, why the following error message appear?

'Invalid Pre-Processor directive' when using #int_rc ??
#int_rb is still working
In the manual (May 2003) on page 43 I find also an #int_rc. But it dosen't work, why?
What a pity, I could need four more ports like PB4-PB7.

Compiler version is 3.181

Thank you for any help
73 Sven
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Mon Jan 05, 2004 8:30 am     Reply with quote

What PIC? If the PIC doesn't support it then you can't do it. Check the datasheet for the device.
wedilo



Joined: 16 Sep 2003
Posts: 71
Location: Moers, Germany

View user's profile Send private message

PostPosted: Mon Jan 05, 2004 8:37 am     Reply with quote

Hello Mark,
Oh no, you're right.
I use a 18F452 and it supports interrupt only at port B.

I wished a better error description from the compiler like:
'command not supported by THIS device'
So I could see my mistake

But otherwise it show me that there are any kind of PICs that have these function also on port c. I have a look...

Thank you
73 Sven
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