Here's an example of multiplexing 20 buttons and 20 leds using 18 gpios. It uses a pi but same principle for a pico could be used..
https://github.com/Gordon999/Pi_BLMP3_Player
https://github.com/Gordon999/Pi_BLMP3_Player
Statistics: Posted by gordon77 — Wed Aug 14, 2024 3:55 pm