digitalWrite(MR_Ctrl,HIGH);//Set direction control pin of right
motor to HIGH level
analogWrite(MR_PWM,250);//Set the PWM control speed of
right motor to 100
//back
delay(2000);//define 2s
digitalWrite(ML_Ctrl,HIGH);//Set direction control pin of left
motor to HIGH level
analogWrite(ML_PWM,250);//Set the PWM control speed of left
motor to 100
digitalWrite(MR_Ctrl,LOW);//Set direction control pin of right
motor to LOW level
analogWrite(MR_PWM,250);//Set the PWM control speed of
right motor to 100
//left
delay(2000);//define 2s
digitalWrite(ML_Ctrl,LOW);//set the direction control pin of left
motor to LOW
analogWrite(ML_PWM,250);//set the PWM control speed of left
motor to 200
digitalWrite(MR_Ctrl,HIGH);//set the direction control pin of right
motor to HIGH
analogWrite(MR_PWM,250);//set the PWM control speed of right