I cannot make "blink" blink - the simplest of sketches

Greetings,

I have returned to square one because I am fairly certain that something is not set correctly in my IDE. I am now trying to run a simple blink sketch on a XIAO ESP32C3 (the sketch provided by Seeeduino) and I get errors in the verbose mode that I cannot interpret. If someone could examine these and suggest what might be wrong, I would greatly appreciate it. Every time I try to bring a new (to me) XIAO processor online it is nothing but heartache and mental anguish. The list of errors follows the code.

[code]
// define led according to pin diagram
int led = D10;

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

void loop() {
  digitalWrite(led, HIGH);   // turn the LED on 
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off
  delay(1000);               // wait for a second
}
[/code]


Sketch uses 222884 bytes (17%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13532 bytes (4%) of dynamic memory, leaving 314148 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM4
Connecting...
Chip is ESP32-C3 (revision v0.4)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 34:85:18:07:c8:3c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600

A fatal error occurred: No serial data received.
A fatal error occurred: No serial data received.

Try

const byte led = 5; //GPIO pin 5

Let’s see the wiring.

Thank you for the assist. So many commands, so little time . . .

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.