Page 1 of 1

Interrupts on Port A for pic12f629 (No Port B available)

Posted: Sat Apr 07, 2007 6:50 pm
by mjs7770
Okay, I have my little PIC12F629 almost ready to run.
But in Flowcode 3, I seem to only be able to access the Interrupts for port B (RB0 INT and RB port change):(
There is only Port A on this little PIC and the Port B Interrupts won't access the PIC12F629.

Can someone help me as to how to setup Port A for Interrupts?
Do I need to setup the Custom Interrupt?
How do I do this to setup "RA2 INT" ?, and how do I turn off the interrupt when I am finished?

Thanks,
Best regards,

Michael

Posted: Tue Apr 10, 2007 10:44 am
by Steve
If you use the "RB0/INT" interrupt in Flowcode, is should use the GP2 (A2) pin.

Similarly, the "RB port change" interrupt should work on on all i.o lines (although you will need to set the IOC register appropriately using a C icon because Flowcode does not do this for you automatically).