View Single Post
  #2   Spotlight this post!  
Unread 14-02-2009, 19:15
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 243
BitTwiddler is on a distinguished road
Re: Micro Switch + PWM = Button?

This year, the driver station does not have pull-up or pull-down resistors on the digital inputs therefore they tend to float at an undefined state when no voltage (or ground) is applied.
Here's a diagram showing how switches connected to the Driver Station digital inputs can be connected successfully. Note, this does not necessarily apply to the cRIO digital inputs since they do have pull-up inputs.
see here:

http://www.chiefdelphi.com/forums/attachment.php?attachmentid=7369&stc=1&thumb=1&d=1 234143000