//www.elogo.com //Line Tracking IO define //Fait par Anne 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!"); }