Skip to content
Snippets Groups Projects
Select Git revision
0 results

espneopixel.c

  • Olivier Ortigues's avatar
    bc4441af
    esp8266/espneopixel.c: Solve glitching LED issues with cpu at 80MHz. · bc4441af
    Olivier Ortigues authored
    At the WS2812 driver level, a 400ns value was used for T0H (time high to
    send a 0 bit) but LED specification says it should be 350ns +- 150ns.
    Due to loop overhead the 400ns value could lead to T0H close to 500ns
    which is too close from the limit value and gave glitches (bad data to
    pixels) in some cases.  This patch makes the calculated T0H value 350ns.
    bc4441af
    History
    esp8266/espneopixel.c: Solve glitching LED issues with cpu at 80MHz.
    Olivier Ortigues authored
    At the WS2812 driver level, a 400ns value was used for T0H (time high to
    send a 0 bit) but LED specification says it should be 350ns +- 150ns.
    Due to loop overhead the 400ns value could lead to T0H close to 500ns
    which is too close from the limit value and gave glitches (bad data to
    pixels) in some cases.  This patch makes the calculated T0H value 350ns.