View previous topic :: View next topic |
Author |
Message |
wedilo
Joined: 16 Sep 2003 Posts: 71 Location: Moers, Germany
|
#int_rc -> Invalid Pre-Processor directive ? |
Posted: Mon Jan 05, 2004 6:15 am |
|
|
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
|
|
Posted: Mon Jan 05, 2004 8:30 am |
|
|
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
|
|
Posted: Mon Jan 05, 2004 8:37 am |
|
|
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 |
|
|
|