Newb with simple question: Limit Switch and BS2
hammatron
Posts: 1
I basically want to have the leads from a limit switch (closed when switch is not depressed) on the breadboard, and have the programming only GOTO if the limit switch is pressed (circuit is open).
I currently have one lead routed to the breadboard and to P15, and the other lead to the breadboard and to an open position in Vdd.
The code is written as
Check:
IF LS = 1 THEN Check
IF LS = 0 THEN Next
Next:
.
.
.
Any help is very much appreciated
I currently have one lead routed to the breadboard and to P15, and the other lead to the breadboard and to an open position in Vdd.
The code is written as
Check:
IF LS = 1 THEN Check
IF LS = 0 THEN Next
Next:
.
.
.
Any help is very much appreciated
Comments