When “D” is pushed, the display value begins at 8. The motor will turn
at a power level of 8 for 0.5 seconds. The display also subtracts 1 from 8
to display 7. For each consecutive loop, the power level will be one less
than it was in the previous loop. Thus the motor is decelerating.
When “D” is pushed, the display value begins at 1. The motor will turn
at a power level of 1 for 0.5 seconds. The display also adds 1 to 1 which
displays 2. For each consecutive loop, the power level will be one more
than it was in the previous loop. Thus the motor is accelerating.