There's no internal pulldown.
So use INPUT_PULLUP to turn the internal pullup on, and change the logic to be active low, ie button pressed is low, button released is high, with the button from pin to ground.
There's no internal pulldown.
So use INPUT_PULLUP to turn the internal pullup on, and change the logic to be active low, ie button pressed is low, button released is high, with the button from pin to ground.