Ethernet
isOn() - Ethernet
Since 2.1.0:
This function will return true
if the Ethernet is available, powered on, and went through low level initialization. Otherwise it will return false
.
// SYNTAX
Ethernet.isOn();
// EXAMPLE
Ethernet.on();
waitFor(Ethernet.isOn, 30000);