- Tue Mar 03, 2015 4:41 am
#11148
Hi Florian,
first, thanks for your effort to get the RGB order working. You *really* seem to get this included
Initially I thought your latest changes would finally solve all problems, unfortunately, there are still some issues:
* The loop count in the nop-loop is really fragile. I tried changing the count from 4 to 3 to get a slightly shorter logic 0 pulse, and suddenly the delay loop finished a *lot* quicker yielding very short pulses.
* The time to latch the data is not 50 us as specified in the datasheet, but in reality 5-6 us as explained in the link I have asked you to read. With your changes I get the following timing for the first pulse:
The low-time is 5.12 us, which is too long for a robust implementation.
Since checking all those changes is quite time consuming, I finally decided it would be easier to implement it myself. Here is the pull-request:
https://github.com/nodemcu/nodemcu-firm ... /259/filesLet's hope, it gets mainlined soon.
Have fun,
Markus