I forgot to add that the PWM transistor may have be quite beefy as its driving the motor directly, not a relay coil.
H-bridges are perhaps a neater solution
I forgot to add that the PWM transistor may have be quite beefy as its driving the motor directly, not a relay coil.
H-bridges are perhaps a neater solution