Steve Thurston
Australia
Asked
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?
Thanks Steve
Related Hardware EZ-B IoTiny
Related Control
Set Digital
There are other alternatives but requires an electronic circuit or an Arduino controller.
Ensure you have the lastest EZ-B V4/2 firmware installed and view the configuration in the http server. There's an option for the status of the ezb connection on a digital pin
@DJ I'm aware of that setting how you make a led flash when the connection is off ?
Zero flashing - just light notification
@ptp Makes sense that I can't make it flash when not connected, due to scripts running on the PC, didn't think of that. lol
@DJ I'm playing with IoTiny atm, EZB-v4 is later in the project, I have looked in the http server a few times, more just for curiosity than anything else :-) I take it IoTiny doesn't have that option, for say D7, yet or if ever. Holy cow mate, 2,047 emails - ouch What's for dinner ? :-)