- 
                Notifications
    
You must be signed in to change notification settings  - Fork 44
 
Open
Description
Hi there
I've noticed that, when using GPIO 0, using fastled with RMT mode messes up this pin. After a little digging I've come to the conclusion that the problem is caused by these lines:
FastLED-idf/components/FastLED-idf/platforms/esp/32/clockless_rmt_esp32.cpp
Lines 279 to 285 in 47f83d4
| rmt_config_t rmt_tx = RMT_DEFAULT_CONFIG_TX(gpio_num_t(0), rmt_channel); | |
| #else | |
| rmt_config_t rmt_tx; | |
| memset((void*) &rmt_tx, 0, sizeof(rmt_tx)); | |
| rmt_tx.channel = rmt_channel; | |
| rmt_tx.rmt_mode = RMT_MODE_TX; | |
| rmt_tx.gpio_num = gpio_num_t(0); // The particular pin will be assigned later | 
From a quick scan of the original fastled code, it seems like they dont set it to pin zero first (anymore) (https://github.com/FastLED/FastLED/blob/master/src/platforms/esp/32/clockless_rmt_esp32.cpp#L109) so an update would hopefully be all thats needed to resolve this :)
Metadata
Metadata
Assignees
Labels
No labels