SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
|
DigitalInput is the base class for reading a digital GPIO pin. More...
#include <sensesp/sensors/digital_input.h>
Public Member Functions | |
DigitalInput (uint8_t pin, int pin_mode) | |
Protected Attributes | |
uint8_t | pin_ |
DigitalInput is the base class for reading a digital GPIO pin.
pin | The GPIO pin to which the device is connected |
pin_mode | Will be INPUT or INPUT_PULLUP |
Definition at line 20 of file digital_input.h.
|
inline |
Definition at line 22 of file digital_input.h.
|
protected |
Definition at line 27 of file digital_input.h.