Thread: Potentiometer
View Single Post
  #21   Spotlight this post!  
Unread 07-12-2011, 10:02
Ross3098's Avatar
Ross3098 Ross3098 is offline
Programmer
AKA: Colin Ross
FRC #3098 (The Captains)
Team Role: Programmer
 
Join Date: Sep 2011
Rookie Year: 2010
Location: Waterford
Posts: 41
Ross3098 will become famous soon enoughRoss3098 will become famous soon enough
Re: Potentiometer

Quick question and I dont want to start a thread about it. Do potentiometers have to be reset at all some way? Ive been tinkering with code and simply using the AnalogChannel->GetVoltage() and printing it to the console gives a voltage reading somewhere around ~30,000,000 which I assume means it isnt hooked up. No one has touched it since competition season and the potentiometer was fine since the last competition.

It is plugged into port 2 on an analog module.

__________________
2012 FRC Championship: 4th pick, Quarterfinalist: Thanks 1507, 51!
2012 Michigan State Championship: 4th Seed, 3rd Alliance Captain, Semifinalist: Thanks 33 and 2137!
2012 Northville District: 3rd Pick, Quarterfinalist. Thanks 302, 4405!
2012 Waterford District: 2nd Pick, Finalist. Thanks 573, 3601!
2011 Waterford District: 8th seed, 1st pick, Semi Finalist. Thanks to 573 and 3770
2011 Ann Arbor District: 2nd seed, Finalist. Thanks to 548 and 247.
2011 Michigan State Championship: Semi Finalist. Thanks to 548 (Again) and 74.
2011 FIRST World Championship: 8th seed, Quarterfinalist. Thanks to 74(Again) and 846.