This isn't a question - but a thought. A comment made by someone on the Ahmed's-LED-clock-to-school-fiasco thread got me thinking about flashing an LED. It is one of the first things we did as electronics hobbyists, using a flip-flop, an NE555, or an Arduino. And then we evolved as hobbyists to liking more complex stuff.
Well, I admit to have never given up liking (and being proud of) flashing an LED 40 year later. But not just for the lighting effects.
I think a flashing LED makes for an awesome debugging tool. I like to double the role of an LED to not just show power but what the system is doing.
As examples, on my coffee roaster, LEDs on the heater circuit show the PWM to the heaters. Even more debugging is an LED showing the phase detector operation.
On my coffee grinder, the main and only LED flickers with the measured RMS current to the motor (to show load above a threshold). This last one was extremely helpful in setting the threshold as running the Arduino circuit with a USB port connected (so I can monitor the Serial out) - was dangerous.
A hard disk LED, an Ethernet port LED are other examples of how an LED can be used not just as a fancy light (or - not so fancy anymore) - but as a real tool to depict system operation.
For beginners, I think the main problem is figuring out:
1. What value can tell me the important thing about the system (that it is working or has a problem)?
2. How do I convert the value to an LED brightness and flicker (best) or morse code (awful).
As examples, for the grinder, the purpose of the Arduino is to measure motor load by measuring the RMS current to the motor, and shut the motor off when grinding is done. So I multiplex two measurements on the LED: RMS as PWM brightness - and threshold when the LED turns off. This way I can tell if the Hall Effect sensor is alive (LED works when it grinds); and that the threshold is correct (LED is lit when grinding).
Just a thought for whomever out there has an LED pin and is wondering if it is useful or not... Comments and ideas welcome (of course).