i'm using the pic18f458 and wanted to use the int2-pin (rb2) for external interrupt. but there is no interrupt constant INT_EXT2 defined in the 18f458.h (only INT_EXT and INT_EXT1).
so how can i use the external interrupt 2 in my code?
thanks!
cya
i2c2k
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
Posted: Fri Aug 06, 2004 5:41 am
You can always use the PIC's registers to set things up. Refer to the section in the datasheet for which registers to set.
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
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