Skip to content

Commit 270932a

Browse files
committed
Add support for the PL9823 chpiset timings
1 parent 211af75 commit 270932a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

FastLED.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ template<uint8_t DATA_PIN, EOrder RGB_ORDER> class UCS1904 : public UCS1904Contr
8484
template<uint8_t DATA_PIN, EOrder RGB_ORDER> class WS2812 : public WS2812Controller800Khz<DATA_PIN, RGB_ORDER> {};
8585
template<uint8_t DATA_PIN, EOrder RGB_ORDER> class WS2812B : public WS2812Controller800Khz<DATA_PIN, RGB_ORDER> {};
8686
template<uint8_t DATA_PIN, EOrder RGB_ORDER> class SK6812 : public SK6812Controller<DATA_PIN, RGB_ORDER> {};
87+
template<uint8_t DATA_PIN, EOrder RGB_ORDER> class PL9823 : public PL9823Controller<DATA_PIN, RGB_ORDER> {};
8788
template<uint8_t DATA_PIN, EOrder RGB_ORDER> class WS2811 : public WS2811Controller800Khz<DATA_PIN, RGB_ORDER> {};
8889
template<uint8_t DATA_PIN, EOrder RGB_ORDER> class APA104 : public WS2811Controller800Khz<DATA_PIN, RGB_ORDER> {};
8990
template<uint8_t DATA_PIN, EOrder RGB_ORDER> class WS2811_400 : public WS2811Controller400Khz<DATA_PIN, RGB_ORDER> {};

chipsets.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,9 @@ class GW6205Controller400Khz : public ClocklessController<DATA_PIN, 6 * FMUL, 7
477477
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
478478
class GW6205Controller800Khz : public ClocklessController<DATA_PIN, 2 * FMUL, 4 * FMUL, 4 * FMUL, RGB_ORDER, 4> {};
479479

480+
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
481+
class PL9823Controller : public ClocklessController<DATA_PIN, 3 * FMUL, 8 * FMUL, 3 * FMUL, RGB_ORDER> {};
482+
480483
#else
481484
// GW6205@400khz - 800ns, 800ns, 800ns
482485
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
@@ -529,6 +532,9 @@ class LPD1886Controller1250Khz : public ClocklessController<DATA_PIN, NS(200), N
529532

530533
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
531534
class SK6812Controller : public ClocklessController<DATA_PIN, NS(300), NS(300), NS(600), RGB_ORDER> {};
535+
536+
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
537+
class PL9823Controller : public ClocklessController<DATA_PIN, NS(350), NS(1010), NS(350), RGB_ORDER> {};
532538
#endif
533539
///@}
534540

0 commit comments

Comments
 (0)