Got my Cheerlights with Ethernet working last night, to the tweaking point, and decided that 2am was not the time to tweek if I wanted to be up in the morning. Plugged it direct to power this AM and it is not working. Need to go to work, so I can't figure out what's wrong.
Did find that the Arduino Ethernet library does DHCP with Ethernet.begin(mac), which returns 1 or 0 depending on connection. Perfect for an if statement. If ( connects ) { do it } else { blink_all_day }
Did find that the Arduino Ethernet library does DHCP with Ethernet.begin(mac), which returns 1 or 0 depending on connection. Perfect for an if statement. If ( connects ) { do it } else { blink_all_day }
No comments:
Post a Comment