janosandi
Full Member level 4
new to Pic Basic Need help plz
hello guys
what's wrong with this simple code?
as i guess it must keep at label "circoff" until portc.1 = 0 right ?
its not & jump to mainloop always
thx for help
hello guys
what's wrong with this simple code?
as i guess it must keep at label "circoff" until portc.1 = 0 right ?
its not & jump to mainloop always
Code:
circoff:
if PORTC.1 = 0 then
gosub mainloop
goto circoff
endif