aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/api/isbuttonpressed.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/lang/api/isbuttonpressed.rst')
-rw-r--r--docs/source/lang/api/isbuttonpressed.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/source/lang/api/isbuttonpressed.rst b/docs/source/lang/api/isbuttonpressed.rst
new file mode 100644
index 0000000..dbff0c9
--- /dev/null
+++ b/docs/source/lang/api/isbuttonpressed.rst
@@ -0,0 +1,17 @@
+.. _lang-isbuttonpressed:
+
+isButtonPressed()
+=================
+
+Check whether the board's built-in button (labeled BUT on the
+silkscreen) is pressed.
+
+Library Documentation
+---------------------
+
+.. doxygenfunction:: isButtonPressed
+
+See Also
+--------
+
+- :ref:`lang-waitforbuttonpress`