View Single Post
  #4   Spotlight this post!  
Unread 24-02-2004, 21:36
mightywombat's Avatar
mightywombat mightywombat is offline
bins? stacking?? NOOOOO!
AKA: Bill Rosemurgy
#0857 (Superior Roboworks)
Team Role: Programmer
 
Join Date: Dec 2003
Location: Houghton, MI
Posts: 93
mightywombat is on a distinguished road
Re: Potentiometer Question, we need help!

Here's what you do.
If the pot is hooked up on port3 on the y-axis try this.

int pot;
pot = p3_y;

You only use the GetAnalogValue() func when you are reading values from the controller (as previously mentioned).
__________________
Bill Rosemurgy - Aspiring Programmer and Human Player (stack of 8 in <10 seconds...oh yeah... but I can't shoot for crap.)
www.team857.com