   if (!(curMillis - updateTime >= updateMilliThreshold)) {
     /* Prevent writing to serial to avoid serial port data overflow */
     writeToSerial = false;
+    
   }
 
   /* Wait for 6 bytes of data to have been sent over serial */

  /* Begin communication over Serial Port with a baud
     rate of 9600*/
  Serial.begin(BAUDRATE);
}

/* Main Arduino loop */

/* General global value definitions */
#define ARDUINO_ID 201
#define C_ID 200
#define BUFFER_DATA_LENGTH 1
#define BAUDRATE 9600
#define LED 2
#define LIGHT_SENSOR A0

long updateTime = 0;

