Serial.begin(115200);// initialize serial communications
WiFiManagerwifiManager;
wifiManager.setTimeout(180);
//fetches ssid and password and tries to connect, if connections succeeds it starts an access point with the name called "LibreMetric" and waits in a blocking loop for configuration
if(!wifiManager.autoConnect("LibreMetric")){
Serial.println(F("failed to connect and timeout occurred"));
delay(6000);
@ -80,11 +79,9 @@ void loop() {
Stringtime=String(ctime(&now));
time.trim();
time.substring(11,19).toCharArray(time_value,10);
matrix.drawChar(2,0,time_value[0],HIGH,LOW,1);// H