A very common practice when designing with MCUs is to dedicate at least one MCU pin to drive a diagnostic or indicator LED.
There are several simple circuits that can accomplish this function. I am curious to know if most designers use the same circuit, and if not, why not?
Edit by cstanton : I liked this post so much I decided to elevate it to Question of the Month for August (Close enough for UK time zone anyway!)
Leave a comment that explains how it came about that you use a particular circuit.