One button wired with a 10K Ohm resistor - how do I utilize INPUT_PULLUP?

It is to my basic understanding that Arduino has built in resistors so I can ditch using one in my circuit. I have wired a button like this, https://www.arduino.cc/en/Tutorial/Button .

Is this a situation where I would use INPUT_PULLUP to not require the resistor?

edit: Nevermind... I realized there is a page for this. https://www.arduino.cc/en/uploads/Tutorial/PullUp_bbd.png

:slight_smile:

Use the Arduino Pullup resistor and let the other side if the button connect to GND.