Using a mapped value which is then ramped analog output

I have just learned that I can send a serial command to the robot controller to adjust the top power limit on the robot controller. This something which I did not think was possible without a reset.

That being said, the process is still the same, but I can essentially remove the "IF map statements

patduino:
Yes, things are getting clearer for me.

When you say you want to adjust the voltage to the motor, you really mean that you want to adjust the PWM values, right? You can't actually change the voltage levels out of the Arduino.

Are you controlling 1 motor or several? If several, are you controlling one at a time, or do you want the motors to ramp to their new speeds at the same time?

Yes, adjust pwm. So instead of a pwm output of 0 or 255, its 0 to 255 over a set period of time. Just one motor.

Thanks!