esp-idf-hal icon indicating copy to clipboard operation
esp-idf-hal copied to clipboard

Simple blink example for RGB Led on Esp32 C6

Open franxois opened this issue 1 year ago • 0 comments

Hi,

I try to use the rmt_neopixel example on my esp32-c6 board with onboard rgb led but it doesn't work. My board is a nanoESP32-C6 (clone?). I only change gpio2 to 8 but the led don't blink.

On the other hand, the example on https://github.com/espressif/esp-idf/tree/release/v5.2/examples/get-started/blink/main works out of the box.

I also tried with the blinky example, I notice a diff with the gpio8 init in the monitor log : working : gpio: GPIO[8]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 non working : gpio: GPIO[8]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0

How to achieve the same init in the blinky.rs code ? Is there another thing I should change to make the led blink in rust ?

I choosed to not reopen the similar issue https://github.com/esp-rs/esp-idf-hal/issues/249

franxois avatar Feb 26 '24 19:02 franxois