This is what I am getting this morning:
- I wrote a very simple C program, edSquares.ino
- From the drop-down menu I selected “Arduino Nano ESP32 Com6”
- I pressed upload button
- Upload successful
- Without me touching anything, the drop-down menu now reads “Arduino Nano ESP32 2-2”
- I changed back to “Arduino Nano ESP32 Com6”
- I tried to open Serial Monitor
- I got the message: “Port Monitor Error: command ‘open’ failed. Serial port busy. Could not connect to Com6 serial port”
My setup is a new Samsung PC laptop running Windows 11 connected via USB C cable to Arduino Nano ESP32 board.
Here is my sketch edSquares.ino:
int j = 1;
void setup() {
Serial.begin(115200);
}
void loop() {
for( j=1 ; j<30 ; j++){
Serial.print(j);
Serial.print(" ");
Serial.println(j*j);
}
}