I am using maxuino to control a DC motor. I am using an H-bridge to control speed and direction of the motor.
I set up my max patch so that pins 3 and 4 were digital outputs to set the direction of the motor and pin 9 to analogWrite for PWM speed control.
The patch was working and I could control speed and direction from max, now i have opened up the patch a week later and PWM doesn't work on any pin.
If I set pin 9 to be a digitalWrite I can turn the motor on, yet analogWrite cannot control the speed the motor just turns off.
Any idea why PWM isn't working? I find it especially odd because the patch was working the first time I made it!