How to change IP and port in AP mode?
How to receive string ?
my code
#include <ESP8266WebServer.h>
//************************************
String LED;
String LED_mod;
//************************************
const char *ssid = "kc_test";
const char *ip = "192.168.54.1";
ESP8266WebServer server(900);
void setup() {
delay(1000);
Serial.begin(115200);
Serial.println();
Serial.print("Configuring access point...");
WiFi.softAP(ssid);
IPAddress myIP = WiFi.softAPIP();
Serial.print("AP IP address: ");
Serial.println(myIP);
server.begin();
//************************************
pinMode(12, OUTPUT);
}
void loop() {
server.handleClient();
if (LED=="A"){ digitalWrite(12, HIGH); }
if (LED=="a"){ digitalWrite(12, LOW); }
}