Good day, I am trying to connect my NodeMCU v0.9 with the code I found on instructables.
I don't know if the code is working because the resulting text is unreadable.
I included the screenshot of the output, and here's the code I used.
I already changed the ssid and password in accordance to my wifi's information.
#include "ESP8266WiFi.h"
// WiFi parameters to be configured
const char* ssid = "mySSID";
const char* password = "myPassword";
void setup(void)
{
Serial.begin(11520);
// Connect to WiFi
WiFi.begin(ssid, password);
// while wifi not connected yet, print '.'
// then after it connected, get out of the loop
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
//print a new line, then print WiFi connected and the IP address
Serial.println("");
Serial.println("WiFi connected");
// Print the IP address
Serial.println(WiFi.localIP());
}
void loop() {
// Nothing
}
