mbed DCMotor class making strange noise..

22 Jul 2011

Hello,

I've written a library myself to control a DC motor which is here.. http://mbed.org/users/kaushalpkk/libraries/DCMotor/lulpte

but when i use it to control 2 motors making 2 different objects... the motor make strange noise.. the code works well when i use bit manupulation and PWM to control the motors... I cant really understand whats wrong with the code.. can anyone please help.

hardware:

Motors in rover 5 robot platform from coolcomponents.co.uk motor driver.. L298HN..