ESP8266 Controlled with Android App (MIT App Inventor) #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <ESP8266mDNS.h> const char *ssid = “KMTRONIC”; const char *password = “12345678”; ESP8266WebServer server(80); const int led = D0; void handleRoot() { digitalWrite(led, 1); server.send(200, “text/plain”, “hello from esp8266!”); digitalWrite(led, 0); } void handleNotFound(){ digitalWrite(led, 1); String message = . . .
Randomnerdtutorials: ESP8266 Controlled with Android App (MIT App Inventor)
