problem with pwm

Also some form of properly sized motor driver is usually required to interface the motor to a arduino pwm output pin.