professor_jonny
New Member
ok so here is some code but I have a problem with it during simulation
if pin B.3 and B.5 are operated and pin 4 is not it jumps out of the loop why?
is there another way of acomplishing this ?
if i rearange it to:
then it still skips the middle conditional statment and ideas?
if pin B.3 and B.5 are operated and pin 4 is not it jumps out of the loop why?
is there another way of acomplishing this ?
Code:
pause 1000
main:
if pinB.3=1 AND pinB.4=1 AND pinB.5=1 then
goto avpack_bypass
end if
goto main
avpack_bypass:
pause 1000
Code:
if pinB.4=1 AND pinB.3=1 AND pinB.5=1