• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Blink LED not blinking

Q&A Forum › Category: ESP32 › Blink LED not blinking
0 Vote Up Vote Down
Guy Mereness asked 11 months ago

I am going through the Learn ESP32 with Arduino v3; the first exercise has a very simple Blink LED program.
I am able to program; connect to ESP32 DOIT V1 board; and program.  But, when it runs the LED is always ON – does not toggle every 1s.
Here is what the code looks like:

const int ledPin = 23;
 

void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(ledPin, OUTPUT);
}

void loop() {
  digitalWrite(ledPin, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                 // wait for a second
  digitalWrite(ledPin, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                 // wait for a second
}

I’ve tried other pins; but seem to toggle the LED; as seen on an scope.

 

2 Answers
0 Vote Up Vote Down
Guy Mereness answered 11 months ago

I was using; what supposed to help make it easier to bread board; an ESP32 extender (don’t know where it was purchased).  Long story short; another mystery solved.  Threw it away – since the legend was all wrong.
 

0 Vote Up Vote Down
Sara Santos Staff answered 11 months ago

OK.
I’m glad you found the issue.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn LVGL: Build GUIs for ESP32 Projects – Version 1.5 July 7, 2025
  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.