Blink for The First Time

ESP-32 already in the breadboard
The LED light (red) indicates that the ESP-32 is connected
searching for the template
the blink program
confirming the port
sketch is uploaded
it is changed!

Blinking External LED

const int ledpin = 32; // ledpin revers to the pin you're choosingvoid setup() {
// put your setup code here, to run once:
pinMode(ledpin, OUTPUT); // initialize digital pin ledpin as an output
}void loop() {
// put your main code here, to run repeatedly:
digitalWrite(ledpin, HIGH); // turn the LED on
delay(1000); // wait a second
digitalWrite(ledpin, LOW); // turn the LED off
delay(1000); // wait a second
the external LED is blinking

YEAYYY, you reached the end of this tutorial. Hope you enjoy it, good luck :)



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store