if PIN =1 then gosub BUTTON_PRESSED
PINisthe port you are using (PORTD.2 for example) BUTTON_PRESSED is what you want to happen after the button has been pressed. What do you want it to do?what code have you written already???
if PIN =1 then gosub BUTTON_PRESSED
PINisthe port you are using (PORTD.2 for example) BUTTON_PRESSED is what you want to happen after the button has been pressed. What do you want it to do?what code have you written already???
Bookmarks