ThreeSixes/EzClock

Touch interface doesn't respond during the second flash animation.

Closed this issue · 2 comments

The touch interface doesn't respond until the animation that flashes for each second finishes.

This is happening because while the seconds animation is in a loop it isn't responding to IRQs or recording the keys touched while in the loop. In order to address the issue we need to handle the IRQ while in the animation loop.

A touch handler for handleMenu() was added inside the animation loop. This does cause a second flash to happen when the menu is "left" if a valid menu option is entered.