Vibration motor with ArduinoMax-InOut-forDummies PWM not working please help!

Hello all,

I am using this circuit to power a vibration motor... https://www.inkling.com/read/arduino-cookbook-michael-margolis-2nd/chapter-8/recipe-8-7

It works, in that it turns straight on and vibrates, but I cannot control it with with ArduinoMax-InOut-forDummies. I know that the Arduino for dummies works with the PWM slots as I have dimmed LEDs using it, however it will not work for this. I am really new with Arduino so please forgive me if the answer is really obvious. I would like to do a similar thing with a DC Motor which I understand with require an external battery.

Thanks for any advice, I really need it!

I cannot control it with with ArduinoMax-InOut-forDummies.

I have no idea what that means.

You haven't posted any code.

It's a max patch that comes with ready made arduino code, you can download it here... http://playground.arduino.cc/interfacing/MaxMSP