pull-up resistor
A resistor to the supply that holds a pin high until something pulls it low.
A pull-up resistor defines an input's idle state as HIGH, so a button to ground reads LOW when pressed (active-low). Microcontrollers have weak internal pull-ups (INPUT_PULLUP).