搜索代码

Getting Started with the ESP32 WiFi and Bluetooth Microcontroller (Like Arduino)

Getting Started with the ESP32 WiFi and Bluetooth Microcontroller (Like Arduino)

This video shows how to start using ESP32 and run a simple blink program.

239-LED blink with ESP32
语言: C++
/*
 * 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 instructions for this code:
 * https://youtu.be/4OOFlS75owA
 * www.Robojax.com 
 * 
Get this code and other Arduino codes from Robojax.com
Learn Arduino step by step in a structured course with all materials, wiring diagrams and libraries
all in one place. 

If you found this tutorial helpful, please support me so I can continue creating 
content like this. 

or make a 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);  
}

资源与参考

尚无可用资源。

文件📁

没有可用的文件。