Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Is there any problem with my PIC code?
Is there any problem with my PIC code?
OUT_IN
movlw b'00000010'
movwf PORTA
[COLOR="Blue"]call[/COLOR] delay
clrf PORTA
Loop1 movf TMP,0
sublw 00h
btfsc STATUS,2
goto main
goto Loop1
OUT_OUT
movlw b'00000001'
movwf PORTA
[COLOR="blue"]call[/COLOR] delay
clrf PORTA
Loop2 movf TMP,0
sublw 01h
btfsc STATUS,2
goto main
goto Loop2