rudy wrote:How did you change it? You need to show us what you did in order to tell you where it went wrong.
Sorry if I wasn't clear. All I meant was that now when I try to change the SSID, the code is only different in the parameter given in WiFi.softAP(). i.e. the first time I got the AP working with the SSID "name1", but when I modify that parameter to "name2" the code seems to upload but it keeps broadcasting "name1"
Code snippet below.
#include <ESP8266WiFi.h>
WiFiServer server(80);
void setup() {
WiFi.mode(WIFI_AP); //Our ESP8266-12E is an AccessPoint
WiFi.softAP("name2", ""); // Provide the (SSID, password); .
server.begin(); // Start the HTTP Server
.....