|
satnogs-rotator-firmware
|
Class that functions for interacting with end-stop. More...
#include <endstop.h>
Public Member Functions | |
| endstop (uint8_t pin, bool default_state) | |
| void | init () |
| Initialize the Input pin for end-stop. | |
| bool | get_state () |
| Get the state of end-stop. | |
Private Attributes | |
| uint8_t | _pin |
| bool | _default_state |
Class that functions for interacting with end-stop.
| pin | Set the arduino pin |
| default_state | Set the default state of end-stop HIGH or LOW |
|
inline |
Definition at line 27 of file endstop.h.
References _default_state, and _pin.
|
inline |
|
inline |
|
private |
Definition at line 56 of file endstop.h.
Referenced by endstop(), and get_state().
|
private |
Definition at line 55 of file endstop.h.
Referenced by endstop(), get_state(), and init().