Skip to content

Commit 1110dfa

Browse files
committed
Use password in WiFi.begin(...)
1 parent ad3062f commit 1110dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void setup() {
4848
Serial.print("Attempting to connect to SSID: ");
4949
Serial.println(ssid);
5050
// Connect to WPA/WPA2 network. Change this line if using open or WEP network:
51-
status = WiFi.begin(ssid);
51+
status = WiFi.begin(ssid, pass);
5252

5353
// wait 10 seconds for connection:
5454
delay(10000);

0 commit comments

Comments
 (0)