ESP32 型号:ESP32-S3-WROOM-1(M0N8R2)

ESP32 烧录器型号:ESP Prog v1.0 IOTMCU

烧录器的开关按键是复位按键。
接线图如下:

注意:RX连 RX TX连TX EN连RST
Arudion IDE 配置如下:

注意 Arudino 中使用串口为 Serial0.
VsCode PlatformIO 配置如下:
[env:esp32s3box]
platform = espressif32
;board = esp32s3box 
board = esp32-s3-devkitc-1
framework = arduino
upload_port = COM9
upload_speed = 115200
Vscode 代码如下:
#include <Arduino.h>
#define LED_BUILTIN 1
// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
  Serial.begin(115200);
}
// the loop function runs over and over again forever
void loop() {
  Serial.println("esp32-s3 running...");
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}加作者微信:jiyuyun18(积雨云), 交流电子技术
留言:ESP32, 加入 ESP32 技术讨论群




















