natcl / Artnet

An Art-Net library for Teensy, Arduino and ESP boards
Other
334 stars 91 forks source link

Added dhcp support and rp2040 support #59

Open cgiles opened 2 years ago

cgiles commented 2 years ago

Hello,

I added a function Artnet::begin(byte mac[],bool setBroadcast) which rely on the dhcp for set the ip. I modified the Artnet.h by adding a fix for make sure it picks the right Ethernet.h And added a function getBroadcastIP() for get the broadcast IP when we use the setBroadcastAuto(IPAddress ip, IPAddress sn)