• sales

    +86-0755-88291180

ESP32 C3 Cannot turn off LED

2024-05-01 22:12:34 Ask

According to the hardware schematic, there are 2 leds on this board, one that indicated battery charging and the second connected to IO11

try as i might, I cannot seem to switch off the second LED programatically.

In theory, all that is required is:

pinMode(11, OUTPUT);

digitalWrite(11, LOW);

but unfortunately noting happens.

Can you give any advice as to where I may be going wrong ?

esp32 c3 programming power led
1answers
SpotPearGuest0dee1
Answer time:
2024-05-06 10:39:43

1】 Install ESP-IDF 5.0 CMD

      Open https://dl.espressif.com/dl/esp-idf/ , download  esp-idf-tools-setup-offline-5.0.4

2】Open ESP-IDF 5.0 CMD,   Using commands  espefuse.py -p COM* burn_efuse VDD_SPI_AS_GPIO 1

     Change the * symbol to the corresponding serial port number.

     After making the changes, press enter.

3】Write BURN into the command box and press enter

    Wait, just wait for this to appear

Like0

report

Price: $9.99
Part Number: ESP32C3-1.44
Brand: Spotpear