.. _lang-isbuttonpressed: isButtonPressed() ================= Check whether the board's built-in button (labeled BUT on the silkscreen) is pressed. The pin number of the built-in button is given by the constant ``BOARD_BUTTON_PIN``. Library Documentation --------------------- .. doxygenfunction:: isButtonPressed See Also -------- - :ref:`Board-specific values ` - :ref:`BOARD_BUTTON_PIN ` - :ref:`lang-waitforbuttonpress`