View Single Post
  #1   Spotlight this post!  
Unread 17-02-2006, 22:56
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Pot Printf Variable

Hey guys, just got a quick question. I have a command to tell me the range of our potentiometer. Its a printf command. I have gotten the adc code all up in the code already. It goes something like:

printf("Pot value: %d\r\n", variableNameUsedForPot);

Except, Im not sure what the actual variable name is. Can someone maybe tell me real quick I cant find it in the code. Thanks!
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis