     digitalWrite(out, HIGH);
     digitalWrite(debug, HIGH);
   }
-#else
-  static int value = 0;
-  value ^= 1;
-  digitalWrite(out, value);
-  digitalWrite(debug, value);
-#endif
 }
 
 /* End of timer interrupt code */

ISR(TIMER1_OVF_vect)
{
  TCNT1 = timerPreload;            // preload timer
#if 1
  if (writeBitsLeft > 0) {
    --writeBitsLeft;
    int value = ((sequence[writeCurByte] >> writeCurBit) & 1) ? HIGH : LOW;

      uint32_t c = buf[UDP_DATA_P + TRANSMIT_TIMESTAMP_P + 2];
      uint32_t d = buf[UDP_DATA_P + TRANSMIT_TIMESTAMP_P + 3];
      uint32_t t = ((a << 24) | (b << 16) | (c << 8) | d) - 2208988800ul + TZ_OFFSET;
      curTime = t;
      a = buf[UDP_DATA_P + TRANSMIT_TIMESTAMP_P + 4];
      b = buf[UDP_DATA_P + TRANSMIT_TIMESTAMP_P + 5];
      c = buf[UDP_DATA_P + TRANSMIT_TIMESTAMP_P + 6];
      d = buf[UDP_DATA_P + TRANSMIT_TIMESTAMP_P + 7];
      t = ((a << 24) | (b << 16) | (c << 8) | d) - 2208988800ul + TZ_OFFSET;
      curTimeFractions = t;
      struct tm tm;
      gmtime_r(t, &tm);
      Serial.println(tm.tm_mday);
