 		  Udp.beginPacket(Udp.remoteIP(), 9694);
 		  Udp.write(ReplyBuffer);
 		  Udp.endPacket();
-		  break;
-
-		case "stat":
+	  } else if(op == "stat") {
 		  switch(lame) {
  		  case 1:
-		    sendStatus(pin_STATUS1, 1)
+		    sendStatus(pin_STATUS1, 1);
 		    break;
 		  case 2:
-		    sendStatus(pin_STATUS2, 2)
+		    sendStatus(pin_STATUS2, 2);
 		    break;
 		  case 3:
-		    sendStatus(pin_STATUS3, 3)
+		    sendStatus(pin_STATUS3, 3);
 		    break;
 		  case 4:
-		    sendStatus(pin_STATUS4, 4)
+		    sendStatus(pin_STATUS4, 4);
 		    break;
 		  }
 	}
+}
 	delay(10);
 }

	int packetSize = Udp.parsePacket();
	if(packetSize) { // Si il y a un paquet
		Udp.read(packetBuffer,32); // le lire
		op = packetBuffer.substrings(4);
		lame = packetBuffer[4]-'0'; // et convertir le 5e caractére en chiffre (char -> int)
		switch(op) {
		case "lame":
		  switch (lame) {
		  case 1:
		    pin_LAME1 = HIGH;

int pin_STATUS4 = 13;


int lame;
int lameNumber;
char packetBuffer[32];	// Où sont stockés les données reçues.x
char ReplyBuffer[] = " OK "; // Réponse de l'arduino
char ReplyOFF[] = " OFF ";
char ReplyON[] = " ON ";
int demande = 0;
String op;

EthernetUDP Udp;

