if (Lsensor == HIGH) back_turn_right();
else if (Rsensor == HIGH) back_turn_left();
Please, don't confuse the pin number with the value read from that pin.
if (Lsensor == HIGH) back_turn_right();
else if (Rsensor == HIGH) back_turn_left();
Please, don't confuse the pin number with the value read from that pin.