Issue Description : The following is the code used to print local IP of esp8266 NodeMCU board
#include “ESP8266WiFi.h”
const char* ssid = “ssid”; //Enter SSID
const char* password = “password”; //Enter Password
void setup(void)
{
Serial.begin(115200);
// Connect to WiFi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED)
{
delay(500);
Serial.print(“*”);
}
Serial.println(“”);
Serial.println(“WiFi connection Successful”);
Serial.print(“The IP Address of ESP8266 Module is: “);
Serial.print(WiFi.localIP());// Print the IP address
}
void loop()
{
// EMPTY
}
Setting Details given below
After flashing the code to Esp8266 . Not printing output in serial Monitor . showing a some garbage symbols instead .
how to fix this issue ?
Answer to this question & More related question is shared in the Discussion section below . Join in our discussion and your problem will be fixed by experts in these fields . Read Our privacy policy and Terms and condition .
If your problem is different Then share with us . here’s a article : How to join in a discussion ? also read : How to start own discussion ?