Also - just for the sake of other list members, you might want to just create a 2nd post, and leave whatever you had to change in the original.
Just so folks can see where you made a mistake (if any), and learn from it. Rather than editing your previous post. I myself learn a lot from things that need to be changed to work properly, and it's a tad confusing for folks to follow-along if you edit a previous code example that needed changing.
I don't think so. The 16F690 has different interrupt enable & flag bits for PORTA/PORTB interrupt-on-change.
From DT_INTS-14;
Code:
#define RBC_INT INTCON,RBIF, INTCON,RBIE ;-- RB Port Change
These registers aren't available in the 16F690.
These are;
Code:
#define RABC_INT INTCON,RABIF, INTCON,RABIE ;-- RAB Port Change *
Bookmarks