Maxuino PWM not responding

    Nov 08 2012 | 7:14 pm
    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!
    Max Patcher
    In Max, select New From Clipboard.
    here is the patch...

    • Nov 08 2012 | 7:55 pm
      this is the circuit I have set up as well...
    • Nov 08 2012 | 11:21 pm
      it has got to be the circuit, quadruple check?
    • Nov 11 2012 | 10:12 pm
      I am a goof.
      I didn't follow the Maxuino instructions , I never set the pin's functions, I only sent them instructions of what to do.
      I was telling pin 9 PWM information but I didn't set pin 9 to PWM yet.