forked from Makuna/NeoPixelBus
Add support for TLC5947 24-Channel PWM driver. (#551)
* Add support for TLC5947 24-Channel PWM driver. * Refactor code to match coding guidelines and better documentation.
This commit is contained in:
1 parent
3060e4cd28
commit
e31677ad32
5 files changed
+252
No files matched your search
@@ -95,6 +95,7 @@ License along with NeoPixel. If not, see
|
||||
#include "internal/Lpd6803GenericMethod.h"
|
||||
#include "internal/Ws2801GenericMethod.h"
|
||||
#include "internal/P9813GenericMethod.h"
|
||||
#include "internal/Tlc5947GenericMethod.h"
|
||||
|
||||
#if defined(ARDUINO_ARCH_ESP8266)
|
||||
|
||||
@@ -153,6 +154,13 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
NeoPixelBus(uint16_t countPixels, uint8_t pinClock, uint8_t pinData, uint8_t pinLatch, uint8_t pinOutputEnable = NOT_A_PIN) :
|
||||
_countPixels(countPixels),
|
||||
_state(0),
|
||||
_method(pinClock, pinData, pinLatch, pinOutputEnable, countPixels, T_COLOR_FEATURE::PixelSize, T_COLOR_FEATURE::SettingsSize)
|
||||
{
|
||||
}
|
||||
|
||||
NeoPixelBus(uint16_t countPixels) :
|
||||
_countPixels(countPixels),
|
||||
_state(0),
|
||||
|
||||
Reference in new issue
Block a user