Go Down

Topic: [correction] WiFi.subnetMask() (Read 469 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy