This commit is contained in:
2021-06-21 19:59:16 -05:00
parent 3ccbd309b2
commit 68f02588e2
10 changed files with 527 additions and 12 deletions

View File

@@ -26,7 +26,7 @@ void setup()
delay(5000);
ESP.restart();
}
Serial.println(WiFi.localIP());
//Serial.println(WiFi.localIP());
mensaje += WiFi.localIP().toString();
ota_init();
@@ -39,6 +39,7 @@ void setup()
void loop()
{
ArduinoOTA.handle();
yield();
if ((millis() - matrix_time) > 150)
{
matrix_time = millis();
@@ -49,7 +50,7 @@ void loop()
{
timeAnterior = millis();
if (!client.connected())
{
{ yield();
reconnect();
}
timeClient.update(); //sincronizamos con el server NTP