aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/api/waitforbuttonpress.rst
blob: 34c5066481da744f51839ec43256a42e94f2cc75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.. _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:`lang-isbuttonpressed`