Class espos::sensors::GpioOutput
ClassList > espos > sensors > GpioOutput
#include <espos_sensors/sensors.hpp>
Inherits the following classes: espos::flow::NodeBase, espos::flow::Consumer, espos::flow::Producer
Public Types
Public Types inherited from espos::flow::Producer
See espos::flow::Producer
Public Attributes inherited from espos::flow::NodeBase
See espos::flow::NodeBase
Public Functions
| Type |
Name |
|
GpioOutput (const char * id, int gpio, bool invert=false, bool initial=false)
|
| esp_err_t |
open_error () const
|
| void |
set (const bool & on) override
|
| bool |
state () const
|
Public Functions inherited from espos::flow::NodeBase
See espos::flow::NodeBase
Public Functions inherited from espos::flow::Consumer
See espos::flow::Consumer
Public Functions inherited from espos::flow::Producer
See espos::flow::Producer
Protected Functions
Protected Functions inherited from espos::flow::NodeBase
See espos::flow::NodeBase
Protected Functions inherited from espos::flow::Consumer
See espos::flow::Consumer
Protected Functions inherited from espos::flow::Producer
See espos::flow::Producer
Public Types Documentation
typedef consumes_type
using espos::sensors::GpioOutput::consumes_type = bool;
Public Functions Documentation
function GpioOutput
inline espos::sensors::GpioOutput::GpioOutput (
const char * id,
int gpio,
bool invert=false,
bool initial=false
)
function open_error
inline esp_err_t espos::sensors::GpioOutput::open_error () const
function set
inline void espos::sensors::GpioOutput::set (
const bool & on
) override
function state
inline bool espos::sensors::GpioOutput::state () const
Protected Functions Documentation
function node_id_for_error
inline virtual const char * espos::sensors::GpioOutput::node_id_for_error () override const
Implements espos::flow::Producer::node_id_for_error
The documentation for this class was generated from the following file espos_sensors/include/espos_sensors/sensors.hpp