# pragma config(Sensor. S1, bumper1, sensorTouch) # pragma config(Sensor. S2, bumper2, sensorTouch) //Code en robotC pour les deux pare-chocs //Code en MSI2 Yohan Couture task main() { while (true) { if(SensorValue(bumper1)==1) { motor[MotorB] = 0; motor[motorC] = -5; wait1Msec(100); } if(SensorValue(bumper2)==1) { motor[motorB] = 0; motor[motorC] = -5; wait1Msec(100); } else { motor[motorB] = 10; motor[motorC] = 10;