No matter what I try master clear will not turn off. I have done everything but change the device file as it says if it is listed in your code it over rides it. Need GPIO.3 as an input. Dumbed the program as much as I could. output pins go from high to low as should. But if I ground GPIO.3 everything resets.
Code:
#CONFIG
__config _WDT_OFF & _MCLRE_OFF & _CP_OFF
#ENDCONFIG
OPTION_REG=000000
TRISIO = 001000
A VAR GPIO.0
B VAR GPIO.1
C VAR GPIO.2
IN VAR GPIO.3
BEGIN: high A
high B
high C
pause 1000
low A
low B
low C
pause 1000
gotO BEGIN
Bookmarks