max speed.
M1 direction 0/1 and M1 direction 1/0 - Connect these two to two digital Arduino pins. Output one
pin as HIGH and the other pin as LOW, and the motor will spin in one direction.
Reverse the outputs to LOW and HIGH, and the motor will spin in the other direction.