How to program stepper motor and DC motor run at the same time?

  1. map() is a very expensive way to divide by 4

  2. Use the AccelStepper library instead of the blocking Stepper library.