Autonomous Robot, motor driver

JimboZA:
I mean are you sending just one PWM value to set it to 155, or are you looping through a pwm command and increasing the value from 0 to 155 in steps of say 10.

This is how I'm doing it.

if ( turn == 128 ){
  drive_forward();  
  analogWrite(PWMR, 255);// speed control
  analogWrite(PWML, 255);// speed control
  }
void drive_forward()
     {
  digitalWrite(RFWD,HIGH);// right wheel foward h-bridge
  digitalWrite(RRVS,LOW);
  digitalWrite(LFWD,HIGH);//left wheel foward h-bridge
  digitalWrite(LRVS,LOW);
  return;
     }