Other Arduino Codes and Videos by Robojax

Getting Started with ESP32 WiFi Bluetooth Microcontroller (like Arduino)

Start using ESP32 WiFi, Bluetooth SoC IoT development board

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.

Resources for this sketch

LED Blink with ESP32


 /*
 * 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. You can support me on Patreon ( Launched June 14, 2019): http://bit.ly/2ZnITLz

Or support me via PayPal