aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/api/boardusespin.rst
blob: 8dc4c647b9f0d3c08bf116f76f13e1adfcbaaaf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.. highlight:: cpp

.. _lang-boardusespin:

boardUsesPin()
==============

Each LeafLabs board connects some pins to external hardware.  The most
important examples of this are the built-in LED and button.  You can
check if a board uses a particular pin using this function.

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

.. doxygenfunction:: boardUsesPin

See Also
--------

- :ref:`Board-specific values <lang-board-values>`
- :ref:`boardUsedPins <lang-board-values-used-pins>`
- :ref:`BOARD_LED_PIN <lang-board-values-led>`
- :ref:`toggleLED() <lang-toggleled>`
- :ref:`BOARD_BUTTON_PIN <lang-board-values-but>`
- :ref:`isButtonPressed() <lang-isbuttonpressed>`
- :ref:`waitForButtonPress() <lang-waitforbuttonpress>`