User Tools

Site Tools


includeextlibary

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
includeextlibary [2024/12/15 17:33] – jwanincludeextlibary [2025/10/10 10:15] (current) – external edit 127.0.0.1
Line 17: Line 17:
   ESP8266WebServer   ESP8266WebServer
   LittleFS   LittleFS
 +  ayushsharma82/ElegantOTA @ ^3.1.1
 </code> </code>
  
Line 28: Line 29:
 ESP8266WebServer ESP8266WebServer
 LittleFS LittleFS
 +Ticker
  
 // top of main.cpp // top of main.cpp
Line 33: Line 35:
 const char* password = "password"; const char* password = "password";
 const char* hostname = "hostname"; const char* hostname = "hostname";
 +bool nodemcuwificonnected = false;
  
 // inside loop // inside loop
 server.handleClient(); server.handleClient();
 ElegantOTA.loop(); ElegantOTA.loop();
 +</code>
 +
 +**mqttasync.h**
 +<code>
 +// under platformio.ini 
 +marvinroger/AsyncMqttClient@^0.9.0
 +
 +// under main.cpp
 +#define MQTT_HOST IPAddress(192, 168, x, x)
 +#define MQTT_PORT 1883
 +#define MQTT_TOPIC "topic"
 +</code>
 +
 +**myfunc.h**
 +//Depending on use requirements//
 +<code>
 +// under platformio.ini
 +bblanchon/ArduinoJson @ ^7.2.1
 +pfeerick/elapsedMillis @ ^1.0.6
 +plageoj/UrlEncode @ ^1.0.1
 </code> </code>
includeextlibary.1734284034.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki