Switch to ground. Definately the better way to go.
I might suggest a different Main loop though.Those pesky R-M-W'sCode:MAIN: IF RELAY = Pswitch THEN RELAY = ! Pswitch ' Relay pin = the opposite of Pswitch pin ENDIF PAUSE 20 GOTO MAIN END
<br>
Switch to ground. Definately the better way to go.
I might suggest a different Main loop though.Those pesky R-M-W'sCode:MAIN: IF RELAY = Pswitch THEN RELAY = ! Pswitch ' Relay pin = the opposite of Pswitch pin ENDIF PAUSE 20 GOTO MAIN END
<br>
DT
Bookmarks