void setup() { Serial.begin(9600); //initial the Serial } void loop() { int i = 0; Serial.println("compteur "); delay(5000); if(Serial.available()) { Serial.println("compteur "); //send what has been received } }