I am asking for opinions on how others setup and use a LED to blink periodically to show the system is up and working.

Usuallly I just use a counter in a loop and toggle the LED based on bits in the counter, however, that does not always work well when the program spins waiting on an input.

I am thinking about setting up a timer and set the LED to the overflow?

How do some of you guys do it?