 
     case DOWN:
     
-      //  Serial.println("Writing board state to file");
+      // Serial.println("Writing board state to file");
         writeBoardStateToFile(BOARD_CONFIG_FILE_FULL_PATH);
       // g_iWriteToFile=1;
     

    updateBoardState();
  
// TESTING
//  getSerialCommand(); 
  
  if (millis() - last_print > 5000)
  {

    initBoardState();
    return;
  }
  else
  {
    Serial.println(sJsonFile); 
  }
  
//  Serial.println("File Close");
  fclose(fp);
  
