ESP32_OLED_webradio
ESP32_OLED_webradio copied to clipboard
WS2812.c code
An esp-idf update has broken this code so that the output no longer works
The following needs to change:
add #include <driver/rmt.h>
and change PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[gpioNum], 2); gpio_matrix_out(gpioNum, RMT_SIG_OUT0_IDX + RMTCHANNEL, 0, 0); gpio_set_direction(gpioNum, GPIO_MODE_OUTPUT);**
to
rmt_set_pin((rmt_channel_t)RMTCHANNEL, RMT_MODE_TX, (gpio_num_t)gpioNum);
which esp-idf version are you referring to?
I interpreted Quanghoster's messages as the output would fail, not compilation issue because I did not experience compilation issues.
Oh sorry.