Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielgarcia@gmail.com <danielgarcia@gmail.com@4ad4ec5c-605d-bd5c-5796-512c9b60011b>2013-10-10 01:30:05 +0400
committerdanielgarcia@gmail.com <danielgarcia@gmail.com@4ad4ec5c-605d-bd5c-5796-512c9b60011b>2013-10-10 01:30:05 +0400
commit5290d386835a86709363a028a8c51dec225fae3f (patch)
tree37f3169537f6b109c5ef2ac0c63461ddc3b15187 /chipsets.h
parentc780742d0f1071f7e6f5e3218eb6bd2b540c2c0f (diff)
Fixup WS2811 timings for the teensy 3 as well.
Diffstat (limited to 'chipsets.h')
-rw-r--r--chipsets.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/chipsets.h b/chipsets.h
index 68c2246b..06fe0b87 100644
--- a/chipsets.h
+++ b/chipsets.h
@@ -226,8 +226,6 @@ public:
// UCS1903 - 500ns, 1500ns, 500ns
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-class UCS1903Controller400Mhz : public ClocklessController<DATA_PIN, NS(500), NS(1500), NS(500), RGB_ORDER> {};
-template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
class UCS1903Controller400Khz : public ClocklessController<DATA_PIN, NS(500), NS(1500), NS(500), RGB_ORDER> {};
#if NO_TIME(500, 1500, 500)
#warning "No enough clock cycles available for the UCS103"
@@ -235,34 +233,20 @@ class UCS1903Controller400Khz : public ClocklessController<DATA_PIN, NS(500), NS
// TM1809 - 312.5ns, 312.5ns, 325ns
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-class TM1809Controller800Mhz : public ClocklessController<DATA_PIN, NS(350), NS(350), NS(550), RGB_ORDER> {};
-template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
class TM1809Controller800Khz : public ClocklessController<DATA_PIN, NS(350), NS(350), NS(550), RGB_ORDER> {};
#if NO_TIME(350, 350, 550)
-#warning "No enough clock cycles available for the UCS103"
+#warning "No enough clock cycles available for the TM1809"
#endif
-// WS2811 - 400ns, 400ns, 450ns (n.b. the teensy3 defs down below are vestigal, and the teensy 3 timings should be fixed/cleaned up)
-#if !defined(__MK20DX128__)
-template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-class WS2811Controller800Mhz : public ClocklessController<DATA_PIN, NS(400), NS(400), NS(450), RGB_ORDER> {};
+// WS2811 - 400ns, 400ns, 450ns
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
class WS2811Controller800Khz : public ClocklessController<DATA_PIN, NS(400), NS(400), NS(450), RGB_ORDER> {};
-#else
-template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-class WS2811Controller800Mhz : public ClocklessController<DATA_PIN, NS(320), NS(320), NS(550), RGB_ORDER> {};
-template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-class WS2811Controller800Khz : public ClocklessController<DATA_PIN, NS(320), NS(320), NS(550), RGB_ORDER> {};
-#endif
-
-#if NO_TIME(320, 320, 550)
+#if NO_TIME(400, 400, 450)
#warning "No enough clock cycles available for the UCS103"
#endif
// 750NS, 750NS, 750NS
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
-class TM1803Controller400Mhz : public ClocklessController<DATA_PIN, NS(750), NS(750), NS(750), RGB_ORDER> {};
-template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
class TM1803Controller400Khz : public ClocklessController<DATA_PIN, NS(750), NS(750), NS(750), RGB_ORDER> {};
#if NO_TIME(750, 750, 750)
#warning "No enough clock cycles available for the UCS103"