Skip to content

Commit 9d07dc9

Browse files
committed
Fixing issue with using the incorrect variable name in the echobot example as described in #6
1 parent 20351ae commit 9d07dc9

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

examples/101/CustomKeyboard/CustomKeyboard.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// Initialize Wifi connection to the router
1414
char ssid[] = "xxxxxxxxxxxxxxxxxxxxxx"; // your network SSID (name)
15-
char pass[] = "yyyyyyyy"; // your network key
15+
char password[] = "yyyyyyyy"; // your network key
1616

1717

1818

@@ -75,7 +75,7 @@ void setup() {
7575
// attempt to connect to Wifi network:
7676
Serial.print("Connecting Wifi: ");
7777
Serial.println(ssid);
78-
while (WiFi.begin(ssid, pass) != WL_CONNECTED) {
78+
while (WiFi.begin(ssid, password) != WL_CONNECTED) {
7979
Serial.print(".");
8080
delay(500);
8181
}

examples/101/EchoBot/EchoBot.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void setup() {
3737
// Attempt to connect to Wifi network:
3838
Serial.print("Connecting Wifi: ");
3939
Serial.println(ssid);
40-
while (WiFi.begin(ssid, pass) != WL_CONNECTED) {
40+
while (WiFi.begin(ssid, password) != WL_CONNECTED) {
4141
Serial.print(".");
4242
delay(500);
4343
}

examples/101/FlashledBot/FlashledBot.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
// Initialize Wifi connection to the router
1515
char ssid[] = "xxxxxxxxxxxxxxxxxxxxxx"; // your network SSID (name)
16-
char pass[] = "yyyyyyyy"; // your network key
16+
char password[] = "yyyyyyyy"; // your network key
1717

1818

1919

@@ -72,7 +72,7 @@ void setup() {
7272
// attempt to connect to Wifi network:
7373
Serial.print("Connecting Wifi: ");
7474
Serial.println(ssid);
75-
while (WiFi.begin(ssid, pass) != WL_CONNECTED) {
75+
while (WiFi.begin(ssid, password) != WL_CONNECTED) {
7676
Serial.print(".");
7777
delay(500);
7878
}

examples/ESP8266/CustomKeyboard/CustomKeyboard.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// Initialize Wifi connection to the router
1414
char ssid[] = "xxxxxxxxxxxxxxxxxxxxxx"; // your network SSID (name)
15-
char pass[] = "yyyyyyyy"; // your network key
15+
char password[] = "yyyyyyyy"; // your network key
1616

1717

1818

@@ -79,7 +79,7 @@ void setup() {
7979
// attempt to connect to Wifi network:
8080
Serial.print("Connecting Wifi: ");
8181
Serial.println(ssid);
82-
while (WiFi.begin(ssid, pass) != WL_CONNECTED) {
82+
while (WiFi.begin(ssid, password) != WL_CONNECTED) {
8383
Serial.print(".");
8484
delay(500);
8585
}

examples/ESP8266/EchoBot/EchoBot.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void setup() {
4040
// Attempt to connect to Wifi network:
4141
Serial.print("Connecting Wifi: ");
4242
Serial.println(ssid);
43-
while (WiFi.begin(ssid, pass) != WL_CONNECTED) {
43+
while (WiFi.begin(ssid, password) != WL_CONNECTED) {
4444
Serial.print(".");
4545
delay(500);
4646
}

examples/ESP8266/FlashledBot/FlashledBot.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
// Initialize Wifi connection to the router
1515
char ssid[] = "xxxxxxxxxxxxxxxxxxxxxx"; // your network SSID (name)
16-
char pass[] = "yyyyyyyy"; // your network key
16+
char password[] = "yyyyyyyy"; // your network key
1717

1818

1919

@@ -76,7 +76,7 @@ void setup() {
7676
// attempt to connect to Wifi network:
7777
Serial.print("Connecting Wifi: ");
7878
Serial.println(ssid);
79-
while (WiFi.begin(ssid, pass) != WL_CONNECTED) {
79+
while (WiFi.begin(ssid, password) != WL_CONNECTED) {
8080
Serial.print(".");
8181
delay(500);
8282
}

0 commit comments

Comments
 (0)