https://diyusthad.com/2019/04/arduino-projects-single-pin-multiple-switches.html
100+ Switches in a single pin of Arduino