|
Re: Programming Voltages in Easy-C
I haven't used EasyC, but I know that it is very similar to WPILib, which I have used extensively.
Anybody, correct me if I'm wrong, but you use the SetPWM() function. You pass two values. The first value is the PWM port on the robot you want to output to, and the second value is the speed from 0 to 255. 0 is full reverse, 127 is neutral, and 255 is full forward.
__________________
|