Ethernet

isOff() - Ethernet

Since 2.1.0:

This function will return true if the Ethernet is powered off. Otherwise it will return false.

// SYNTAX
Ethernet.isOff();

// EXAMPLE
Ethernet.off();
waitFor(Ethernet.isOff, 60000);