|
Thunderbots Project
|
#include <gpio.h>

Public Member Functions | |
| virtual void | setValue (GpioState state)=0 |
| virtual GpioState | getValue ()=0 |
An abstract interface for interacting with General Purpose Input/Output (GPIO) pins
|
pure virtual |
Get the current state of the gpio
Implemented in GpioCharDev, and GpioSysfs.
|
pure virtual |
Set the value to the provided state
| state | The state |
Implemented in GpioCharDev, and GpioSysfs.