ESP32_OLED_webradio icon indicating copy to clipboard operation
ESP32_OLED_webradio copied to clipboard

WS2812.c code

Open Quanghoster opened this issue 7 years ago • 3 comments

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);

Quanghoster avatar Feb 21 '18 00:02 Quanghoster

which esp-idf version are you referring to?

vibnwis avatar Feb 21 '18 01:02 vibnwis

I interpreted Quanghoster's messages as the output would fail, not compilation issue because I did not experience compilation issues.

vibnwis avatar Mar 03 '18 06:03 vibnwis

Oh sorry.

carhero avatar Mar 03 '18 06:03 carhero