View Single Post
  #8   Spotlight this post!  
Unread 23-02-2014, 12:33
James Lightfoot James Lightfoot is offline
Programming & Electrical Mentor
FRC #3737 (Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Wayne County, NC
Posts: 21
James Lightfoot is just really niceJames Lightfoot is just really niceJames Lightfoot is just really niceJames Lightfoot is just really niceJames Lightfoot is just really nice
Re: Digital Side Car Wiring Of I/O & Solenoid Output Card

Quote:
Originally Posted by wireties View Post
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?
Reply With Quote