Re: [sigrok-devel] Protocol decoder for WS2812B RGB LED

2017-05-10 Thread Vladimir Ermakov
Hello Jan, I actually tested that decoder on WS2812B (when i writing driver for STM32F373). I decided to use duty cycle to be frequency independent, that approach should work fine with slower versions (400 kbit/s), but yes, it may incorrectly decode if you have longer T1L. But i don't seen that p

[sigrok-devel] Protocol decoder for WS2812B RGB LED

2017-05-10 Thread Jan Losinski
Hello, I extended the WS281X protocol decoder because it did not correctly decode data for WS2812B. It is now selectable if the user wants the generic approach that measures the fraction of the HIGH time in a period or the timings from the WS2812B spec. The code can be pulled from https://github.