View Single Post
  #5   Spotlight this post!  
Unread 13-02-2009, 20:12
Sentient's Avatar
Sentient Sentient is offline
Registered User
FRC #0639 (Code Red)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ithaca
Posts: 21
Sentient is on a distinguished road
Re: Inputs on Driver Station

Rather than using an encoder, it may be easier to just hook up a POT to in analog IO pins and use driverStation->GetAnalogIn(#) and turn this into a rotational value. The reason this may be easier is that to get a rotational value or really anything useful from the encoder in the driver station would take a bit of work. There is no Encoder class that can interface with the driver station as is.
Reply With Quote