Quote:
Originally Posted by wireties
If it is a limit switch (a simple mechanical closure), connect the common and normally open (or closed) contacts on the limit switch to the ground and signal connections of a digital I/O port. Then use the DigitalInput class to read the state.Good Luck!
|
Just so I make sure I get it:
GPIO Pin 1 to LS NO pin
GPIO Pin 3 to LS Common/Swing Point
GPIO pin 2 is not used
Correct or am I still getting it backwards?