ESP32 Onboard LED Not Blinking

tomcat2900
Posts: 8
Joined: Tue Jun 25, 2019 11:24 pm

ESP32 Onboard LED Not Blinking

Postby tomcat2900 » Sat Jun 29, 2019 10:26 pm

Hello !
I have a ESP32 BOARD DEVKIT V4 (ESP32-WROVER-IB (8 MB flash) ESP32-DEVKITC-VIB)
This code for blinking onboard LED doesnt work
/*
* https://circuits4you.com
* ESP32 LED Blink Example
* Board ESP23 DEVKIT V1
*
* ON Board LED GPIO 2
*/

#define LED 2

void setup() {
// Set pin mode
pinMode(LED,OUTPUT);
}

void loop() {
delay(500);
digitalWrite(LED,HIGH);
delay(500);
digitalWrite(LED,LOW);
}

Can you tell me why ?
Thank You !

mikemoy
Posts: 627
Joined: Fri Jan 12, 2018 9:10 pm

Re: ESP32 Onboard LED Not Blinking

Postby mikemoy » Mon Jul 01, 2019 12:53 am

This code for blinking onboard LED doesnt work
Because there is only one led on the board that that is for 5v power.
There is no user led.

https://dl.espressif.com/dl/schematics/ ... v4-sch.pdf

tomcat2900
Posts: 8
Joined: Tue Jun 25, 2019 11:24 pm

Re: ESP32 Onboard LED Not Blinking

Postby tomcat2900 » Mon Jul 01, 2019 10:18 am

Thank You Very Much !

Who is online

Users browsing this forum: Baidu [Spider] and 134 guests