Buttons you can wire between the pin and GND, then enable the internal pull-up (set pinMode to INPUT_PULLUP). No need for external resistors normally.
Buttons you can wire between the pin and GND, then enable the internal pull-up (set pinMode to INPUT_PULLUP). No need for external resistors normally.