pulse() в ButtonOut, +прочие корректировки

This commit is contained in:
DmitriyTychina
2023-09-05 00:20:03 +03:00
parent 93dfa8ee83
commit fbe7b1cf02
16 changed files with 157 additions and 120 deletions

View File

@@ -43,13 +43,16 @@ public:
#if defined ESP8266
if (!http.begin(_host, 80, _url))
{
#elif defined ESP32
if (!http.begin(String("http://") + _host + _url))
{
#endif
// Serial.println("connection failed");
SerialPrint("I", F("NextionUpdate"), "connection failed ");
}
#elif defined ESP32
if (!http.begin(String("http://") + _host + _url))
{
// Serial.println("connection failed");
SerialPrint("I", F("NextionUpdate"), "connection failed ");
}
#endif
SerialPrint("I", F("NextionUpdate"), "Requesting file: " + (String)_url);
int code = http.GET();