This is the Serial of my arduino it doesn't show anything what am I doing wrong in my code? Arduino Code
#include <SoftwareSerial.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
const char* host = "WiFi_Robot4_NodeMCU";
const char* ssid = "EarthQuakeBot";
ESP8266WebServer server(80);
void setup() {
IPAddress ip;
Serial.begin(115200);
ip = WiFi.localIP();
Serial.println(ip);
delay(100);
// Connecting WiFi
WiFi.mode(WIFI_AP);
WiFi.softAP(ssid);
// Starting WEB-server
server.on ( "/", HTTP_handleRoot );
server.onNotFound ( HTTP_handleRoot );
server.begin();
}
void loop() {
}
How to display the localIP of nodemcu esp8266 in Serial using Arduino?