The board is equipped with one mechanical button. The button is shared with LED2 and onboard protection circuitry is added to avoid a short when driving the port high at the same time as pushing the button, which will short it to ground. If it is necessary to use both button and LED, time multiplexing has to be used.
To be able to detect a button press, the firmware has to periodically set the IO pin to input with pull-up and check if it is low. When doing this fast enough, the human eye will not see any change on the LED.