Last Updated or created 2023-03-28
I’ve posted a switches puzzle here.
https://www.henriaanstoot.nl/2023/03/25/last-weeks-useful-schematics/
I was thinking of a easier setup which is “static”.
Mine has a 65535 possibility setup, but you can make an easy puzzle with below setup.
Set D3 to
pinMode(D3, INPUT_PULLUP);
Notice that I’ve placed the wires for some switches at the bottom, so these switches need to be set in the other direction “off” than the others.
Only 7 switches matter, you could use all of them.
When using a switch with only two connections, place the switch upside-down. Now OFF is switch with ON.
ON | ? | ? | ? |
? | OFF | ON | OFF |
? | ? | OFF | ? |
? | OFF | ? | ? |
is the correct setting