I figured out the values that are passed given a certain resistance and was able to utilize aa resistor ladder to use 4 buttons with 1 analog input.
I tested this with LEDs here:
Then I tried to figure out a puzzle where the buttons have to be pressed in a specific sequence. It works so far as can be seen in the next video but I am working on having it reset when the person makes a mistake. Afterward, I will figure out how to randomize the pattern/have it work with p5.
Leave a Reply