Používam najmä toto v loop:
Kód: Vybrat vše
if (Ethernet.begin(mac) == 0) {
Serial.println("Chyba konfiguracie cez DHCP");
Ethernet.begin(mac, ip);
}
Prípadne sa ešte používa pri nastavení:
Kód: Vybrat vše
Ethernet.begin(mac, ip, dns, gateway, subnet);
mac, ip
mac, ip, gateway atď..
Používate to niekto ešte inak?
Dík..