|
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
|