Thanks for that wilykat, but I'm a little confused. You say:
wilykat:
On breadboard I'd just use internal pull up resistors so I don't need to deal with external resistors.
Then go on to say:
wilykat:
... if the pull down is used with switch to 5v, the code runs when the pin goes high.
Running the code when I push the button is the desired effect. Therefore, you are saying, I should use pulldown (which I did) when you have just said you use 'internal pullup'.
I go round in circles and get confuseder and confuseder. ![]()