I see a lot of questions about LEDs but can't find anything on how to connect a LED to reflect the status LED of IoTiny or EZB-v4 to say output D0
I want an external LED to flash when Connection 0 is not connected (Using D0 output)
The same LED to turn ON and stay lit when connection 0 is connected
The same LED to turn OFF and start flashing when connection 0 is disconnected.
How would I write this script?