From d96e325388f2662b1bf3520e894054032851d8c5 Mon Sep 17 00:00:00 2001 From: morris Date: Mon, 3 Mar 2025 17:19:21 +0800 Subject: [PATCH] fix(example): wrong ws2812 reset duration Closes https://github.com/espressif/esp-idf/issues/15498 --- .../rmt/led_strip_simple_encoder/main/led_strip_example_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/peripherals/rmt/led_strip_simple_encoder/main/led_strip_example_main.c b/examples/peripherals/rmt/led_strip_simple_encoder/main/led_strip_example_main.c index c26311cdfe..1e7352b352 100644 --- a/examples/peripherals/rmt/led_strip_simple_encoder/main/led_strip_example_main.c +++ b/examples/peripherals/rmt/led_strip_simple_encoder/main/led_strip_example_main.c @@ -39,7 +39,7 @@ static const rmt_symbol_word_t ws2812_one = { //reset defaults to 50uS static const rmt_symbol_word_t ws2812_reset = { - .level0 = 1, + .level0 = 0, .duration0 = RMT_LED_STRIP_RESOLUTION_HZ / 1000000 * 50 / 2, .level1 = 0, .duration1 = RMT_LED_STRIP_RESOLUTION_HZ / 1000000 * 50 / 2,