   delay(500);
 }
 
+void SerialReadInput()
+{
+  int len = Serial.available();
+  char value = 0;
+  
+  while(len-- > 0) {
+      value = (char)Serial.read();
+      Serial.print(value);
+  }
+}
+
 /*
  * main loop function
  */


  // initialize button
  pinMode(pinButton, INPUT_PULLUP);
}

/*

  // put your main code here, to run repeatedly:
  int buttonValue;

  SerialReadInput();
  buttonValue = digitalRead(pinButton);
  if (buttonValue == LOW) {
    flashLED();
