Pages: [1]   Go Down
Author Topic: [correction] WiFi.subnetMask()  (Read 412 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The println() isn't outputting anything.
// print your subnet mask:
    subnet = WiFi.subnetMask();
    Serial.print("NETMASK: ");
    Serial.println();

It should be changed to:
// print your subnet mask:
    subnet = WiFi.subnetMask();
    Serial.print("NETMASK: ");
    Serial.println(subnet);


Also, the gateway variable is not being used  smiley-roll
Logged

Pages: [1]   Go Up
Jump to: