Day 5: Switching an LED

Today’s program is finally about controlling hardware via the UDP protocol. In this case, an LED is switched on and off with simple commands. The LED in Pin D9 You will find an LED board behind the fifth door. The right dropping resistor already was in yesterday’s door. Build the circuit as the picture shows. The program: Day5_UDPLED ! Attention: Some MAC-Users reportet a bug in the PacketSender-Software. This bug doesn’t allow you to change the ports. If you have problems with this bug you can change the ports in the Arduino program. All you have to do for todays project is to change the line 83 from succes &= sendCom(“AT+CIPSTART="UDP","192.168.4.255",90,91”, “OK”); to succes &= sendCom(“AT+CIPSTART="UDP","192.168.4.255",5505,5506”, “OK”); ...

05.12.2015 · 2 min · Fabian Kainka