LED Spinner!

So I want to add some kind of visual indication that my main arduino loop is still well, looping. I decided on an LED “spinner”, kind of like on web pages and applications. but how to do it?

After a lot of searching I found something neat. A decade counter.

Seems this nice little IC (4017) has 10 outputs that go high in a sequence when given a pulse. The perfect thing to do when you want LEDs to “chase” or spin.

I hope to add this to the new LCC. Should help indicate that the main loop is still looping!

Detailed info on a similar “chaser” project here.

 

Slow Button/Switch Reaction

On my last project– which still isn’t done yet- the buttons for changing the temp display are very unresponsive.

The reason of course is because the Arduino has to loop through all the main code before getting around to checking the button status.

I found the cure! Interrupts!

EngBlaze has a great write up on how to use this. Whew! One less I have to write! Read it here. I’ll be modifying the Tri-Temp code to use interrupts soon. Sweet!