mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added "invert" and "spimode" options to ws2801, ws2812spi and sk6812spi devices (#172)
* Added "invert" and "spimode" options to ws2801, ws2812spi and sk6812spi devices * fixed test/TestSpi.cpp * some coding style wish
This commit is contained in:
@@ -18,8 +18,8 @@ public:
|
||||
/// @param outputDevice The name of the output device (eg '/etc/SpiDev.0.0')
|
||||
/// @param baudrate The used baudrate for writing to the output device
|
||||
///
|
||||
LedDeviceWs2812SPI(const std::string& outputDevice,
|
||||
const unsigned baudrate);
|
||||
LedDeviceWs2812SPI(const std::string& outputDevice, const unsigned baudrate,
|
||||
const int spiMode, const bool spiDataInvert);
|
||||
|
||||
///
|
||||
/// Writes the led color values to the led-device
|
||||
|
Reference in New Issue
Block a user