       Serial.println(tm.tm_min);
       Serial.println(tm.tm_sec);
       sendHHMM(tm.tm_hour, tm.tm_min);
-    }
-  }
-}
+      knowTime = true;
+    }
+  }
+}

  sendBits(setHHMM, sizeof(setHHMM) * 8);
}

void loop() {
  static bool flag = true;
  if (flag) {
    sendHHMM(99, 99);
    flag = false;
  }
  uint16_t length = es.ES_enc28j60PacketReceive(bufferSize, buf);
  if (length && length >= 42 /* IP packet min length */ && length <= UDP_DATA_P + NTP_PACKET_SIZE) {
    if (es.ES_eth_type_is_arp_and_my_ip(buf, length)) {

    digitalWrite(out, HIGH);
    digitalWrite(debug, HIGH);
  }
}

/* End of timer interrupt code */
