Quote Originally Posted by Ioannis View Post
How many buttons will be pressed at the same time?

Maybe state machine is another good solution for such a project. I can dig out an example for small amount of buttons that I am sure can be expanded for more. the advantage is that no pause is used because it is out of the state machine philosophy of operation.

Ioannis
In theory, only one button gets pressed at a time.

It's essentially a button box; something like this:

https://i.ebayimg.com/images/g/AX0AA...D1/s-l1600.jpg