When I press the button once. I want the motor to start and stop at a rate of 50 milliseconds on and 50 milliseconds off.
When I press the button again. I want the motor to start and stop at a rate of 100 milliseconds on and 100 milliseconds off.
When I press the button again. I want the motor to start and stop at a rate of 200 milliseconds on and 200 milliseconds off.
and so on until it loops back around to not turning off and on.