Go Down

Topic: [correction] WiFi.subnetMask() (Read 438 times) previous topic - next topic

Wiggitamoo

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:

Go Up