3 #include "ProviderRs232.h" 23 virtual bool init(
const QJsonObject &deviceConfig);
26 void receivedData(QByteArray data);
35 virtual int write(
const std::vector<ColorRgb> & ledValues);
37 const short _headerSize;
38 bool _ligthBerryAPA102Mode;
LedDeviceAdalight(const QJsonObject &deviceConfig)
Constructs specific LedDevice.
Definition: LedDeviceAdalight.cpp:3
virtual bool init(const QJsonObject &deviceConfig)
Sets configuration.
Definition: LedDeviceAdalight.cpp:17
Interface (pure virtual base class) for LedDevices.
Definition: LedDevice.h:32
static LedDevice * construct(const QJsonObject &deviceConfig)
constructs leddevice
Definition: LedDeviceAdalight.cpp:12
The ProviderRs232 implements an abstract base-class for LedDevices using a RS232-device.
Definition: ProviderRs232.h:14
Implementation of the LedDevice interface for writing to an Adalight led device.
Definition: LedDeviceAdalight.h:8