![]() |
Open Lighting Architecture 0.10.9
|
Uses data in a DMXBuffer to drive GPIO pins.
Classes | |
| struct | Options |
| The Options. More... | |
Public Member Functions | |
| GPIODriver (const Options &options) | |
| Create a new GPIODriver. | |
| ~GPIODriver () | |
| Destructor. | |
| bool | Init () |
| Initialize the GPIODriver. | |
| std::vector< uint16_t > | PinList () const |
| Get a list of the GPIO pins controlled by this driver. | |
| bool | SendDmx (const DmxBuffer &dmx) |
| Set the values of the GPIO pins from the data in the DMXBuffer. | |
| void * | Run () |
| The entry point for the new thread. | |
|
explicit |
Create a new GPIODriver.
| options | the Options struct. |
| bool ola::plugin::gpio::GPIODriver::Init | ( | ) |
Initialize the GPIODriver.
|
inline |
Get a list of the GPIO pins controlled by this driver.
|
virtual |
The entry point for the new thread.
Sub classes must implement this.
Implements ola::thread::Thread.
| bool ola::plugin::gpio::GPIODriver::SendDmx | ( | const DmxBuffer & | dmx | ) |
Set the values of the GPIO pins from the data in the DMXBuffer.
| dmx | the DmxBuffer with the values to use. |