Thread: Potentiometer
View Single Post
  #28   Spotlight this post!  
Unread 07-12-2011, 10:21
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: Potentiometer

Quote:
Originally Posted by Ross3098 View Post
...simply using the AnalogChannel->GetVoltage() and printing it to the console gives a voltage reading somewhere around ~30,000,000...
What format string are you using when you print the value? The GetVoltage() function returns a float. You might have accidentally tried to print it as an int instead.