.. _lang-waitforbuttonpress:

waitForButtonPress()
====================

Wait for the board's built-in button (labeled BUT on the silkscreen)
to be pressed, possibly with timeout.

Library Documentation
---------------------

.. doxygenfunction:: waitForButtonPress

See Also
--------

- :ref:`Board-specific values <lang-board-values>`
- :ref:`BOARD_BUTTON_PIN <lang-board-values-but>`
- :ref:`lang-isbuttonpressed`