Series Resistor With a Button?


Is it ever considered a good idea to place a resistor in series with a button when you use a pin in INPUT_PULLUP mode? Or does it not even matter?



Never necessary and a waste of resistors!

Good to know, thanks!

Hmm, what if... incorrect settings on the port like high output and the button pressed?
The 1k resistor cannot hurt.

Look at the following diagram and check if you really need a resistor in series with a switch when the internal pull-up resistor (Rip) is enabled.