If I make the code like tis:
Should it be like this?Code:@ device pic16F648A, hs_osc, wdt_off, mclr_on, lvp_off, protect_off DEFINE OSC 20 LED1 var PORTB.1 PRESS var PORTA.1 CMCON=7 loop: If press=0 then high led1 else low led1 endif goto loop end
![]()
Bookmarks