Thread: Digital Inputs
View Single Post
  #1   Spotlight this post!  
Unread 24-01-2009, 13:53
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
Digital Inputs

After a few days of frustration, I figured out what we were doing wrong with digital inputs. The digital inputs aren't "pulled down" so they read unpredictable values. Our button makes the input read "0" when pushed, which is fine, but when it's NOT pushed, the value fluctuates between 0 and 1. Is there any way we can make the "not pushed" value remain at a constant value?
We just have a switch hooked up to the signal and ground wires of a pwm cable.
Do we need resistors or something else?
Reply With Quote