2018-05-13 11:37:02 +02:00
|
|
|
GPIO Binary Output
|
|
|
|
==================
|
|
|
|
|
|
|
|
Example Usage
|
|
|
|
-------------
|
|
|
|
|
|
|
|
.. code-block:: cpp
|
|
|
|
|
|
|
|
// Create a binary output, *not a switch*
|
|
|
|
App.make_gpio_output(33);
|
|
|
|
// Custom pinMode
|
|
|
|
App.make_gpio_output(GPIOOutputPin(33, OUTPUT_OPEN_DRAIN));
|
|
|
|
|
2018-05-14 21:15:49 +02:00
|
|
|
.. cpp:namespace:: nullptr
|
2018-05-13 11:37:02 +02:00
|
|
|
|
|
|
|
See :cpp:func:`Application::make_gpio_output` (and :cpp:func:`Application::make_gpio_switch`).
|
|
|
|
|
|
|
|
API Reference
|
|
|
|
-------------
|
|
|
|
|
|
|
|
.. cpp:namespace:: nullptr
|
|
|
|
|
|
|
|
GPIOBinaryOutputComponent
|
|
|
|
*************************
|
|
|
|
|
|
|
|
.. doxygenclass:: output::GPIOBinaryOutputComponent
|
|
|
|
:members:
|
|
|
|
:protected-members:
|
|
|
|
:undoc-members:
|