Now I feel stupid,
Enabling the internal pullups on pins 2 and 3 (set to input) just gave them a permanently HIGH input reading, even when the switches are not closed.
Edit2: Touching the 1k resistor while it is connected to ground seems to fix it. I'll try with a 10k.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16