Artnet blocked if ethernet cable is not present in Teensy 4.1 using NativeEthernet
Hi has anyone experienced the same problem as me?
I'm tring to run a simple artnet sketch and I found that whenthe sketch starts and the ethernet cable is disconected the sketch will hang up at artnet.begin(mac, ip);
when I try instead an example sketch on the nativeEthernet (WebClient.ino) It at least tells me that there is no cable connected.
Initialize Ethernet with DHCP: Failed to configure Ethernet using DHCP Ethernet cable is not connected.
but also true it hangs when trying to get fixed IP at this line:
// try to congifure using IP address instead of DHCP: Ethernet.begin(mac, ip, myDns);
any clue how to overcome this? I need the sketch to run with or without an ethernet cable connected and right now it seems impossible to achieve.
Any help will be very apreciated