4 #include <leddevice/LedDevice.h> 27 bool init(
const QJsonObject &deviceConfig);
48 int write(
const std::vector<ColorRgb> &ledValues);
54 char _gpio_to_color[64];
Interface (pure virtual base class) for LedDevices.
Definition: LedDevice.h:32
Implementation of the LedDevice interface for writing to pi-blaster based PWM LEDs.
Definition: LedDevicePiBlaster.h:10
int open()
Attempts to open the piblaster-device.
Definition: LedDevicePiBlaster.cpp:80
static LedDevice * construct(const QJsonObject &deviceConfig)
constructs leddevice
Definition: LedDevicePiBlaster.cpp:75
LedDevicePiBlaster(const QJsonObject &deviceConfig)
Constructs specific LedDevice.
Definition: LedDevicePiBlaster.cpp:12
bool init(const QJsonObject &deviceConfig)
Sets configuration.
Definition: LedDevicePiBlaster.cpp:43