.. _lang-togglepin:

togglePin()
===========

Switches a digital output pin from :ref:`HIGH <lang-constants-high>`
to :ref:`LOW <lang-constants-low>`, or from LOW to HIGH.

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

.. doxygenfunction:: togglePin

See Also
--------

- :ref:`toggleLED() <lang-toggleled>`