Hi, I was reading your code, very useful, and documented
thanks for that!
I was thinking about using some 74HC165 PISO register (paralel in, serial out) to get the inputs.
Do you think that could be done?
For example, one register could get the second wheelstate byte, every button click sends a complete 8 bit pack. Another, for the third... etc.
what do you think?
Edit: Something like this:
https://wokwi.com/projects/306024460940476993