 void loop() {
  int LEDblock = int(Serial.read());
  if(LEDblock == 0){
-    for(int i =0,i<3;i++){
+    for(int i =0;i<3;i++){
        digitalWrite(gLED,HIGH);
        delay(250);
        digitalWrite(gLED,LOW);

 digitalWrite(inLED, LOW);
}

void checkFinished(){
 bool allTrue = false;
 if(digitalRead(INPin)==HIGH)
   allTrue = true;

  /*if(blockCount==0)
      Serial.println("Error end with 0 block");
  else
      Serial.println("Finished");
 }
}*/
