View Single Post
  #3   Spotlight this post!  
Unread 29-01-2011, 17:57
PeteG PeteG is offline
Registered User
FRC #2084 (Robots by the C)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: The North Shore of Massachusetts
Posts: 5
PeteG will become famous soon enough
Re: Potentiometers in Java

Quote:
Originally Posted by lineskier View Post
I think you can use analog channel
Awesome, thanks, I assume you mean the AnalogChannel class (there are a few others like AnalogModule, AnalogTrigger, etc.).

Would we use getVoltage() or getValue()? It might be getVoltage() since (I think) potentiometers just limit the voltage when the knob is turned. I've never used potentiometers before, though.
Reply With Quote