|
SensESP 3.4.1-alpha
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 21 of file digital_input.h.
|
inline |
Definition at line 23 of file digital_input.h.
|
protected |
Definition at line 28 of file digital_input.h.