Add code to test I²C in practise
This commit is contained in:
		@@ -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() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user