Skip to navigation Skip to content
EXASUB
  • Home
  • Shop
  • My Account
  • Online – Circuit & Coding Tool
  • Home
  • Shop
  • My Account
  • Online – Circuit & Coding Tool
  • ₹0.00 0 items
Home / 2024 / April

Month: April 2024

Posted on April 28, 2024 by Abhay Kant — Leave a comment

How to blink the onboard LED on the ESP32 Devkit V1

The onboard LED is connected to GPIO 2

code

#define led 2
void setup() {
  // put your setup code here, to run once:
pinMode(2, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
digitalWrite(led, 1);
delay(1000);
digitalWrite(led, 0);
delay(200);
}
Category: Uncategorized
© EXASUB 2026
Built with WooCommerce.
  • My Account
  • Search
  • Cart 0