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 (view all EZB hardware)
EZ-B Iotiny
by EZ-Robot
Control IoTiny with Synthiam ARC: 100MHz Cortex‑M4 Wi‑Fi IoT/robot controller-camera, servos, ADC, I2C and digital I/O for easy internet automation
Wi-Fi / USB
Servos
8
Camera
Audio
UART
✕
I2C
ADC
✕
Digital
✕
Related Robot Skill (view all robot skills)
Set Digital
by Synthiam
Toggle a digital I/O port between TTL low (0V) and high (3.3V/5V) in ARC; select board and port, simple on/off control-signal only.

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 ? :-)