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

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
mjs7770
Flowcode v5 User
Posts: 15
Joined: Mon Apr 02, 2007 1:11 pm
Location: Australia
Contact:

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

Post 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

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Post 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).

Post Reply