I have a ESP8266 Lolin wemos.cc clone.
and I’m following the instructions from an online course with their sketch on how to login to WiFi.
there are no connects to bug up the works and the code is straight forward.
#include <ESP8266WiFi.h>
const char ssid[] = "17243";
const char password[] = "235689147";
void setup()
{
// put your setup code here, to run once:
Serial.begin(9600);
delay(100);
Serial.print("Connecting to " );
Serial.print(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED)
{
delay(500);
Serial.print(".");
}
Serial.println();
Serial.println("Connected..");
}
void loop()
{
// put your main code here, to run repeatedly:
}
I reset my router to factory settings and issued a new password just to make sure.
I took a photo of the back of it to look at the ssid “17243-5G”
I’ve tried variations of the ssid with and without the ‘-5G’ but its still refusing to login.
it just keeps printing periods.
can you suggest anything?