View Single Post
  #6   Spotlight this post!  
Unread 31-01-2011, 16:26
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Trackers Returning True All the Time

Yeah, no resistor is necessary.

You said you declared them as Digital Inputs. Did you then have them connected to Digital Inputs on the Digital Sidecar? Only the signal wire should be used; the power and ground come from a 20A circuit on the Power Distribution board.

If you didn't connect them to the proper pins (e.g. miswiring them to the Digital Sidecar ground instead of signal), you wouldn't have been able to read their state. A disconnected Digital Input always reads as true.
Reply With Quote