Thread: Digital Inputs
View Single Post
  #4   Spotlight this post!  
Unread 24-01-2009, 18:41
KRibordy KRibordy is offline
Registered User
FRC #1000 (Cybearcats)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2006
Location: Valparaiso, IN
Posts: 36
KRibordy is an unknown quantity at this point
Re: Digital Inputs

We got it working with a single pole, double throw switch with the Signal wire connected to the center, and the Ground and +5V on the outsides. We'd like to use a push button. However, that only has two inputs. So what I was thinking was having the pushbutton connected to Signal and +5V (or signal and Ground) and having a resistor that connects the two inputs, so when the switch is not pressed, the input reads 0, instead of the on/off flip flop it usually does. Someone in another topic suggested using a resistor, but so far I have not been able to get this working.
Reply With Quote