Hello

I need som help with this program.
It should work like this: when power on, GPIO.2 is high. When I apply HI on GPIO.0, after 3 sec GPIO.2 should be low. Config is mclr=off, pwrt=on, wdte=on,boren=on, int OSC I/O.

Here is the code

CMCON=7

ul var GPIO.0 'Define GPIO.0 pin as ul
izl VAR GPIO.2 'Define GPIO.2 pin as izl

High izl
Input ul

loop:
if ul=1 then
pause 3000
low izl
end if
goto loop