//elegoo line fait par Juliette Jacques void left(){ analogWrite(ENA, carspeed); analogWrite(ENB, carspeed); digitalWrite(IN1,LOW); digitalWrite(IN2,HIGH); digitalWrite(IN3,LOW); digitalWrite(IN4,HIGH); Serial.println("go left!"); } void right(){ analogWrite(ENA,carspeed); analogWrite(ENB,carspeed); digitalWrite(IN1,HIGH); digitalWrite(IN2,LOW); digitalWrite(IN3,HIGH); digitalWrite(IN4,LOW); serial.println("go right!"); }