Hi there,

I need your help about using PBP pro with a PIC16F684.

I have to access portA pins in my program, using a variable as an index because I need to check what pin triggered the interrupt and then I need to poll the pin.

(let's assume the INT triggering port A pin is default high with weak pullups, it goes low when an int occurs and I jump to the below routine once I know what pin triggered the INT and assign that pin number to trigpin variable)

for i = 0 to 255
IF porta.trigpin = 1 then exitloop
PAUSEus 1000
next i
exitloop:


I know that PCPpro refuses to use porta.trigpin or porta[trigpin]
Thanks a lot