Switch
======
A board switch: toggle (click to flip) or momentary (press and hold).
``switch`` · board
.. raw:: html
Switchmonitor
modetoggle
initial
key
Original
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``y``
- signal
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``mode``
- enum
- ``"toggle"``
- ``toggle``, ``momentary``
* - ``initial``
- boolean
- ``True``
- —
* - ``key``
- text
- —
- —