 #define greenLED 3 //bacon & green led port
 #define blueLED 4 //acknowledgement & blue led port
 #define thErrON 0.9 //threshold multipler HIGH leds
-#define thErrOFF 2 //threshold multipler LOW leds
-#define setupWaitTime 1 //(ms) delay at setup time 
+#define thErrOFF 1.5 //threshold multipler LOW leds
+#define setupWaitTime 50 //(ms) delay at setup time 
 #define fbTime 1000 //(ms) feedback led on time
 #define cycTime 1000 //(ms) feedback led off time
 #define sync "MODE_sync" // keyword for start sync seq (transmitter side)

  {
    tcs.getRawData(&r, &g, &b, &c);
  }
  while(g > th_Val[0].g_t)
  {
    tcs.getRawData(&r, &g, &b, &c);

      synchronization();
    else
    {
      digitalWrite(greenLED, HIGH);

      //Serial.print("\n");
      for(int j=0; j<inputHOLD.length(); ++j)
        {
