View Single Post
  #7   Spotlight this post!  
Unread 29-02-2012, 15:23
andreboos andreboos is offline
Registered User
FRC #3021 (The Agency)
Team Role: Programmer
 
Join Date: Dec 2009
Rookie Year: 2010
Location: San Diego
Posts: 132
andreboos is a jewel in the roughandreboos is a jewel in the roughandreboos is a jewel in the roughandreboos is a jewel in the rough
Re: Wiring a limit switch.

Hmm, all I can say is that it worked fine for us. Our normally open switch reported 0 volts when open and 5 volts when closed, with a bit of noise. The 2.5V threshold accurately detects the two states.

Why would an unconnected pin report random values? Or do you just mean it would be a noisy zero?