Quote:
Originally Posted by Whippet
Motor.setSpeed(joystick.GetRawAxis(1));
Where 1 can be replaced with your joystick axis, joystick can be replaced with your joystick name, and motor with the name of your PWM output.
|
So I have
Pulley.setSpeed(operator.getRawAxis(2));
It is coming up as a wrong command saying:
setSpeed(double) is not public in PWM; cannot be accessed from outside package
How do I fix this?
Thanks