diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-03-10 01:01:03 +0400 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-03-10 01:01:03 +0400 |
commit | d758a83509b971479c646084e937081fa3daaa8b (patch) | |
tree | ca31e8a4a84a0a7dfc86a87871aa11bc7443ad59 /chipsets.h | |
parent | 4ba3f8ef44bb2b0be4fdc9231b6cc76e2dbc48d0 (diff) |
Extend GW6205 support to the other clockless platforms
Diffstat (limited to 'chipsets.h')
-rw-r--r-- | chipsets.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -294,10 +294,10 @@ template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB> class TM1829Controller800Khz : public ClocklessController<DATA_PIN, 2, 5, 3, RGB_ORDER> {}; template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB> -class GW6205Controller400Khz : public ClocklessController<DATA_PIN, 6, 7, 6, RGB_ORDER> {}; +class GW6205Controller400Khz : public ClocklessController<DATA_PIN, 6, 7, 6, RGB_ORDER, 4> {}; template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB> -class GW6205Controller800Khz : public ClocklessController<DATA_PIN, 2, 4, 4, RGB_ORDER> {}; +class GW6205Controller800Khz : public ClocklessController<DATA_PIN, 2, 4, 4, RGB_ORDER, 4> {}; #elif defined(FASTLED_AVR) && (F_CPU == 16000000) // 62.5ns/clock @@ -324,10 +324,10 @@ template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB> class TM1829Controller800Khz : public ClocklessController<DATA_PIN, 4, 10, 6, RGB_ORDER> {}; template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB> -class GW6205Controller400Khz : public ClocklessController<DATA_PIN, 12, 14, 12, RGB_ORDER> {}; +class GW6205Controller400Khz : public ClocklessController<DATA_PIN, 12, 14, 12, RGB_ORDER, 4> {}; template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB> -class GW6205Controller800Khz : public ClocklessController<DATA_PIN, 4, 8, 8, RGB_ORDER> {}; +class GW6205Controller800Khz : public ClocklessController<DATA_PIN, 4, 8, 8, RGB_ORDER, 4> {}; #else // GW6205@400khz - 800ns, 800ns, 800ns @@ -387,10 +387,10 @@ class TM1803Controller400Khz : public ClocklessController<DATA_PIN, NS(750), NS( #endif template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB> -class TM1829Controller800Khz : public ClocklessController<DATA_PIN, NS(340), NS(340), NS(550), RGB_ORDER, true, 500> {}; +class TM1829Controller800Khz : public ClocklessController<DATA_PIN, NS(340), NS(340), NS(550), RGB_ORDER, 0, true, 500> {}; template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB> -class TM1829Controller1600Khz : public ClocklessController<DATA_PIN, NS(100), NS(300), NS(200), RGB_ORDER, true, 500> {}; +class TM1829Controller1600Khz : public ClocklessController<DATA_PIN, NS(100), NS(300), NS(200), RGB_ORDER, 0, true, 500> {}; #if NO_TIME(100, 300, 200) #warning "Not enough clock cycles available for TM1829@1.6Mhz" #endif |