ws2812-esp32-rmt-driver
ws2812-esp32-rmt-driver copied to clipboard
Invert the output flags (invert_out)
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
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.