Other Arduino Codes and Videos by Robojax
This this video how to start using ESP32 and run simple blink
The link to use in the "preferences" of Arduino IDE for ESP32 board https://dl.espressif.com/dl/package_esp32_index.json Watch video for instructions.
/*
* Turn LED ON or OFF using ESP32
*
if you are able to run this on Arduino IDE, your ESP32 is working
*
* Updated/Written by Ahmad Shamshiri
* On August 25, 2019 in Ajax, Ontario, Canada
* Watch video instruction for this cod:
* https://youtu.be/4OOFlS75owA
* www.Robojax.com
*
Get this code and other Arduino codes from Robojax.com
Learn Arduino step by step in structured course with all material, wiring diagram and library
all in once place. Purchase My course on Udemy.com http://robojax.com/L/?id=62
If you found this tutorial helpful, please support me so I can continue creating
content like this. You can support me on Patreon http://robojax.com/L/?id=63
or make donation using PayPal http://robojax.com/L/?id=64
*/
int LED = 2;
void setup() {
pinMode(LED, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED, HIGH);
delay(1000);
digitalWrite(LED, LOW);
delay(1000);
}
If you found this tutorial helpful, please support me so I can continue creating content like this. support me via PayPal