Only pin 31 works. All the buttons are connected in the same way. I've tried moving the setup for pin31 further up the code, in case the reason only that pin was working is because it's the last pin to be set up, but that changed nothing.
I've checked the wiring for continuity, all works as expected.
I have several pins connected to GND via push buttons and here's my code....
Only pin 31 works. All the buttons are connected in the same way. I've tried moving the setup for pin31 further up the code, in case the reason only that pin was working is because it's the last pin to be set up, but that changed nothing.
I've checked the wiring for continuity, all works as expected.
Any ideas?