What do you want to save?
Add Code snippet
New code examples
-
C 2022-01-23 23:56:14
cannot reach esp8266 via udp while he is running with a static ip
#include <ESP8266WiFi.h> #include <ESPAsyncUDP.h> IPAddress ip_ap(192, 168, 1, 123); IPAddress gw_ap(192, 168, 1, 1); IPAddress sn_ap(255, 255, 255, 0); AsyncUDP udp; void setup() { Serial1.begin(921600); WiFi.softAPConfig(ip_ap, gw_ap, sn... Add solution -
Javascript 2021-11-02 09:59:10
hoe verbind je de nodemcu 8266 met adafruit io
/* * Simple HTTP get webclient test */ #include <ESP8266WiFi.h> const char* ssid = "yourssid";const char* password = "yourpassword"; const char* host = "wifitest.adafruit.com"; void setup() { S... Add solution -
Other 2021-10-21 08:38:20
Intelligent water flow sensor with ESP32
#include <ESP8266WiFi.h> //Library can be download below #include <WiFiClient.h> //Library can be downloaded below #include <ESP8266WebServer.h> //Library can be downloaded below #include <PubSubClient.h> int sensorPin1 = 5... Add solution -
C++ 2021-10-20 18:01:14
nodemcu web server slider
// Import required libraries #include <ESP8266WiFi.h> #include <ESPAsyncTCP.h> #include <ESPAsyncWebServer.h> // Replace with your network credentials const char* ssid = "REPLACE_WITH_YOUR_SSID"; const char* password = "R... Add solution -
Javascript 2021-10-20 17:48:07
how to get MAC id of nodemcu
/* * Circuits4you.com * Get MAC Address of ESP8266 in Arduino IDE */ #include <ESP8266WiFi.h> const char* wifiName = "circuits4you.com"; const char* wifiPass = "your_password"; // the setup function runs once when you pre... Add solution -
Other 2021-10-16 22:13:05
nodemcu as access point
#include <ESP8266WiFi.h> void setup() { Serial.begin(115200); Serial.println(); Serial.print("Setting soft-AP ... "); boolean result = WiFi.softAP("ESPsoftAP_01", "pass-to-soft-AP"); if(result == true) { ... Add solution -
Other 2021-10-12 02:54:03
esp now communication programming
// Complete Instructions to Get and Change ESP MAC Address: https://RandomNerdTutorials.com/get-change-esp32-esp8266-mac-address-arduino/ #include "WiFi.h" void setup(){ Serial.begin(115200); WiFi.mode(WIFI_MODE_STA); Serial.println(WiF... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5