Skip to content

Commit 735124b

Browse files
committed
Add comment to example on how to override the local IP address
1 parent 60b68fd commit 735124b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/AP_SimpleWebServer/AP_SimpleWebServer.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ void setup() {
4646
while (true);
4747
}
4848

49+
// by default the local IP address of will be 192.168.1.1
50+
// you can override it with the following:
51+
// WiFi.config(IPAddress(10, 0, 0, 1));
52+
4953
// print the network name (SSID);
5054
Serial.print("Creating access point named: ");
5155
Serial.println(ssid);

0 commit comments

Comments
 (0)