Skyward boardcore
|
Dip switch driver to read the current status of the switch. More...
#include <DipSwitch.h>
Public Member Functions | |
DipSwitch (miosix::GpioPin &sh, miosix::GpioPin &clk, miosix::GpioPin &qh, std::chrono::microseconds microSecClk) | |
uint8_t | read () |
Performs a read of the dipSwitch. | |
Dip switch driver to read the current status of the switch.
Definition at line 33 of file DipSwitch.h.
|
inline |
Definition at line 36 of file DipSwitch.h.
uint8_t Boardcore::DipSwitch::read | ( | ) |
Performs a read of the dipSwitch.
Definition at line 28 of file DipSwitch.cpp.