Blink for The First Time

  1. ESP-32 Development board
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

This additional step also needs additional components. Here are what you have to prepare.

  1. Male to Male Cable
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
Andreana Hartadi Suliman

Andreana Hartadi Suliman

If we are afraid of failure, it means we have limited our ability. — Hi, nice to see you here. Have a good day!