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.
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.