.. _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 <lang-board-values>`
- :ref:`BOARD_BUTTON_PIN <lang-board-values-but>`
- :ref:`lang-waitforbuttonpress`