For whatever reason, I have to humbly ask if this is right:
SW1 var porta.0
LED var portb.0
check:
IF SW1 = 1 then LED = 1
goto check
end
It compliles with no errors. Seems pretty straight forward but in anycase, its not working. Porta.0 is getting a 5v sig from SW1 but the LED won't lite.
PBP, PBPDemo, Microcode studio, MPLab, PicPro, and any other IDE I could find.
Thank you,
Mike Slaney
Just wondering IF...
Bookmarks