aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/api/isbuttonpressed.rst
diff options
context:
space:
mode:
Diffstat (limited to 'source/lang/api/isbuttonpressed.rst')
-rw-r--r--source/lang/api/isbuttonpressed.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/lang/api/isbuttonpressed.rst b/source/lang/api/isbuttonpressed.rst
new file mode 100644
index 0000000..dbff0c9
--- /dev/null
+++ b/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`