You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm try to add new chipset in source code for support UCS1903B this datasheet: http://www.icdemi.com/manual/UCS1903B.pdf
(sorry, but i find only the chinese version).
chipsets.h:
...
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
class UCS1903BController800Khz : public ClocklessController_Trinket<DATA_PIN, 2, 5, 3, RGB_ORDER> {};
...
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
class UCS1903BController800Khz : public ClocklessController_Trinket<DATA_PIN, 4, 10, 6, RGB_ORDER> {};
Ahh - ok, this is basically an 800kHz version of the UCS1903 controller. I'm going to work on adding the definitions that you provided.
The tick counters in the trinket are basically hand converted ns values to clock counts for 8 and 16Mhz clocks. I do this for the trinket because, especially at 8Mhz, the timing for the hand rolled assembly is tight enough that I want to define the timings in clocks, rather than allow for an ns to clock conversion, which for most other platforms is ok.
I'll close this ticket when i've checked the code into the 2.1 branch (which is the current 'next' release branch that is being worked on).
I'm try to add new chipset in source code for support UCS1903B this datasheet:
http://www.icdemi.com/manual/UCS1903B.pdf
(sorry, but i find only the chinese version).
chipsets.h:
...
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
class UCS1903BController800Khz : public ClocklessController_Trinket<DATA_PIN, 2, 5, 3, RGB_ORDER> {};
...
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
class UCS1903BController800Khz : public ClocklessController_Trinket<DATA_PIN, 4, 10, 6, RGB_ORDER> {};
...
// UCS1903B - 400ns, 450ns, 450ns
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
class UCS1903BController800Khz : public ClocklessController<DATA_PIN, NS(400), NS(450), NS(450), RGB_ORDER> {};
if NO_TIME(400, 450, 450)
warning "Not enough clock cycles available for the UCS1903B"
endif
FastLED.h also was edited for adding support of UCS1903B.
Timings in datasheet:
T0H 0.4μs ± 40 ns
T1H 0.8μs ± 80 ns
T0L 0.85μs
T1L 0.45μs
Reset >=24us
but it wan't work... Also i'm not sure about tick counters in a part that use ClocklessController_Trinket. Can you help me?
The text was updated successfully, but these errors were encountered: