 
   //DebugLed
   pinMode(13, OUTPUT);
+  
+  //Init Jumper
+  pinMode(JUMPER, INPUT);
 
   // Serial
   Serial.begin(9600);
+  
+    if (isGreen()) {
+    digitalWrite(13,LOW);
+  } else {
+    digitalWrite(13,HIGH);
+  }
+  
 
   //  initializeTimer1();
 }
 
 void loop() {
+  
+  if (!endScript){
+    for (int i = 0; i<2000; i++);
+    Serial.println("DEBUT DE SCRIPT");
+    Serial.println("Attente de Jumper...");
+    while(!digitalRead(JUMPER));
+    Serial.println("Debout!");
+    prepareToStart();
+    Serial.println("Retirer le jumper...");
+    while(digitalRead(JUMPER));
+    
+    
+    endScript = true;
+    Serial.println("FIN DE SCRIPT");
+    while(42);
+    }
   
 }
 

      Serial.println("left on");
      setLeftSpeed( 30);
      break;


    default:


void serialEvent()
{
  while (Serial.available())
  {
    char inChar = (char)Serial.read();
