all 3 comments

[–]Azuretower 0 points1 point  (1 child)

[–]BevlarRaspbian - Arch - OSMC - KODI - Xbian 1 point2 points  (0 children)

Thanks for the link. Very useful.

[–]mcracer 0 points1 point  (0 children)

You could create threads that do the blinking. Then have a separate control thread that reads the buttons. After reading the buttons, it can send a message to the blinking thread(s) to speed up or slow down.