dev_000:
Thanks for the inputs you guys.
Do you mean to say something like this?
Why have you got this line in loop()
digitalWrite(enb, LOW);
and its counterpart?
Just set the enable pin in setup() so that the motor can work and leave it set.
...R