i have the same line of code for forward and backward as you can see,, but..
when i run my motors using remote, it moves clearly doing what i expect but just for
forward movement,, and for backward movement it only just move 1 motor.. i have pointed where that line is supposedly to work but not.. . could someone explain i can send more info..
my thoughts: the codes are very similar to forward just putting the designated lines to the respected place.. i did it also for backward but only 1 wheel is working..
int Backward()
{
digitalWrite(in1,HIGH);
analogWrite(en1, 65); <----- not rotating..
digitalWrite(in2,LOW);
digitalWrite(in3,HIGH);
analogWrite(en3, 65);
digitalWrite(in4,LOW);
}
int Forward()
{
digitalWrite(in1,LOW);
digitalWrite(in2,HIGH);
analogWrite(en2, 65);
digitalWrite(in3,LOW);
digitalWrite(in4,HIGH);
analogWrite(en4, 65);
}

