Add code to test I²C in practise

This commit is contained in:
2012-10-20 14:31:03 +02:00
parent da8350f2e4
commit dcd5298323
3 changed files with 113 additions and 1 deletions

View File

@ -40,7 +40,7 @@
static uint8_t mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
static IPAddress ip = IPAddress(192, 168, 1, 210);
static IPAddress timeserver = IPAddress(192, 43, 244, 18);
static IPAddress timeserver = IPAddress(213, 239, 239, 164);
P(indexHtml) = "<!DOCTYPE html><html><head><meta charset='utf-8'/"
"><title>Station Météo</title><style>html, body{ba"
@ -178,7 +178,9 @@ void sendNTPpacket() {
Serial.println("Adjusting time");
chronodot.adjust(DateTime(epoch));
return;
}
Serial.println("No reponse");
}
void setup() {