I'm sure other posters will point out to use the internal pull-up but...
For the time being, one of the switches isn't connected to the GND and isn't working.
EDIT:
The schematic has been edited, not reposted.
But it's still wrong.
I'm sure other posters will point out to use the internal pull-up but...
For the time being, one of the switches isn't connected to the GND and isn't working.
EDIT:
The schematic has been edited, not reposted.
But it's still wrong.