4 #include "ProviderSpi.h" 21 virtual bool init(
const QJsonObject &deviceConfig);
29 virtual int write(
const std::vector<ColorRgb> &ledValues);
Interface (pure virtual base class) for LedDevices.
Definition: LedDevice.h:32
Implementation of the LedDevice interface for writing to APA102 led device.
Definition: LedDeviceAPA102.h:10
LedDeviceAPA102(const QJsonObject &deviceConfig)
Constructs specific LedDevice.
Definition: LedDeviceAPA102.cpp:3
virtual bool init(const QJsonObject &deviceConfig)
Sets configuration.
Definition: LedDeviceAPA102.cpp:14
The ProviderSpi implements an abstract base-class for LedDevices using the SPI-device.
Definition: ProviderSpi.h:12
static LedDevice * construct(const QJsonObject &deviceConfig)
constructs leddevice
Definition: LedDeviceAPA102.cpp:9