Moved control of motor to PWM capable pins.