🛠 Faire clignoter la LED RGB de la DevKitC-1
First project with the ESP32-C6: make the onboard LED blink. On the official ESP32-C6-DevKitC-1 board, the LED is an addressable RGB LED (WS2812 type) whose data line is connected to GPIO8. Steps: install ESP-IDF, create a project with idf.py set-target esp32c6, set BLINK_GPIO to GPIO_NUM_8, then run idf.py flash monitor. Important reminder: GPIO8 is a strapping pin (along with GPIO5, GPIO9, and GPIO15) that also controls the display of ROM messages and drive strength; never connect a load that would pull the level at reset, otherwise the board will not boot or flash. The C6 is a single-core RISC-V RV32IMAC running at up to 160 MHz; the logic is 3.3 V only, and the pins do not tolerate 5 V. The basic code remains a periodic gpio_set_level in a FreeRTOS loop with vTaskDelay: sufficient to understand the complete chain build → flash → console. Once the blinking works, you will master the ESP-IDF toolchain end-to-end, and you will know why we carefully avoid strapping pins for external connections.
Other tutorials for this board
Code examples for this board
clignotante.inoArduinobouton-led.inoArduinorespiration.inoArduinodht22.inoArduinooled-i2c.inoArduinoserveur-web.inoArduino