ws2812-esp32-rmt-driver icon indicating copy to clipboard operation
ws2812-esp32-rmt-driver copied to clipboard

Invert the output flags (invert_out)

Open AdamHeavens opened this issue 8 months ago • 2 comments

Hi,

Is there an ability to invert the output in the strip config like the below c++ example? I can't see anything in the docs or source code to see how I would add the invert_out config?

strip_config = { .strip_gpio_num = LED_DATA_GPIO, .max_leds = NUM_LEDS, .led_pixel_format = LED_PIXEL_FORMAT_GRB, .led_model = LED_MODEL_WS2812, .flags = { .invert_out = true, }};

rmt_config = { .clk_src = RMT_CLK_SRC_DEFAULT, .resolution_hz = 10 * 1000 * 1000, .flags = { .with_dma = false, }};

Thanks

Adam

AdamHeavens avatar Mar 17 '25 19:03 AdamHeavens

Suggested AI fix, has a number of issues but it looks like invert_out is not available in rmt_tx_config_t as part of esp-idf-hal.

AdamHeavens avatar Mar 18 '25 09:03 AdamHeavens