Controlling Servos Accurately
to control the Motor power in ROBOTC we write: motor[motorA] = 75;
But this statement ONLY takes integers
I'm writing a program controlling two motors where the powers of them both change every 30 mili second according to an equation
and each motor takes a certain value power
The problem is many values are FLOAT !! but the compiler considers all float values as integers which makes problems to my program
is there anyway to give the motor float power values ???????????