Just so OP knows all the options available, you can also apply charlieplexing for the LEDs.
https://en.wikipedia.org/wiki/Charlieplexing
The easiest route is to stick to a keyboard matrix, of course. But in the past, there are many cool tricks to conserve GPIO lines. Like using the ADC to read keyboard switches with very few pins...
https://en.wikipedia.org/wiki/Charlieplexing
The easiest route is to stick to a keyboard matrix, of course. But in the past, there are many cool tricks to conserve GPIO lines. Like using the ADC to read keyboard switches with very few pins...
Statistics: Posted by katak255 — Thu Aug 22, 2024 12:33 am