Please excuse me for this simple question. I am using a PICkit 2 with a 16F690 on the Low Pin Count Demo Board. I am trying to turn on an LED when I press a button. My code is below... the PIC dosn't seem to be responding to the button presses....Any help appreciated ( I am a major newbie, if you couldn't tell).
CODE:
main:
if PORTA.3 = 0 then pressed
goto main
pressed:
high PORTC.3
pause 250
low PORTC.3
pause 250
goto main
Bookmarks