|
Open Model Railroad Network (OpenMRN)
|
Output pin that switches between high and low state by turning on pullup and pulldowns. More...
#include <Esp8266Gpio.hxx>
Static Public Member Functions | |
| static void | hw_init () |
| Initializes the hardware pin. | |
| static void | hw_set_to_safe () |
| Sets the hardware pin to a safe state. | |
| static void | set (bool value) |
| Sets the value of an output pin to a specific state;. | |
| static void | set_on () |
| Sets the output pin to HIGH. | |
| static void | set_off () |
| Sets the output pin to LOW. | |
Output pin that switches between high and low state by turning on pullup and pulldowns.
Useful when an external override like a button is expected. NOTE: does not seem to work on the esp8266, as the pulldown bit seems to be doing nothing.
Definition at line 248 of file Esp8266Gpio.hxx.
|
inlinestatic |
Initializes the hardware pin.
Definition at line 252 of file Esp8266Gpio.hxx.
|
inlinestatic |
Sets the hardware pin to a safe state.
Definition at line 259 of file Esp8266Gpio.hxx.
|
inlinestatic |
Sets the value of an output pin to a specific state;.
| value | if tru output pin will be set to HIGH else LOW. |
Definition at line 265 of file Esp8266Gpio.hxx.
|
inlinestatic |
Sets the output pin to LOW.
Definition at line 278 of file Esp8266Gpio.hxx.
|
inlinestatic |
Sets the output pin to HIGH.
Definition at line 274 of file Esp8266Gpio.hxx.