claudeheintz / LXDMXEthernet_library

Library for Arduino with Ethernet Shield implements Art-Net and sACN with example DMX output using USART serial
BSD 3-Clause "New" or "Revised" License
26 stars 6 forks source link

Update DMXOutputUsingUSART.ino #4

Closed JPJayPee closed 6 years ago

JPJayPee commented 6 years ago

add "Ethernet.maintain()" to loop. This should enable obtaining an ip-adress via dhcp if inital try fails. A quick basic test resulted in a success

claudeheintz commented 6 years ago

If a new IP address is obtained, what is returned by Ethernet.maintain() ? For Art-Net, the poll reply needs to be updated if the IP address changes.

JPJayPee commented 6 years ago

A few quick tests with my setup resulted in correct poll reply with updated ip-adress. Initially if node is powered up and no dhcp server present device will not obtain any ip-address.