Last active
July 11, 2025 09:26
-
-
Save tranchausky/a162afe399dc58ab854aca754eca2faf to your computer and use it in GitHub Desktop.
esp32-c3 (supporer mini) show monotor Serial (hold boot + power first for upload code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [env:esp32c3] | |
| platform = espressif32 | |
| board = esp32-c3-devkitm-1 | |
| framework = arduino | |
| monitor_speed = 115200 | |
| build_flags = | |
| -DARDUINO_USB_CDC_ON_BOOT=1 | |
| -DARDUINO_USB_MODE=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| void setup() { | |
| Serial.begin(115200); | |
| delay(1000); | |
| Serial.println("Xin chào từ ESP32-C3!"); | |
| } | |
| void loop() { | |
| Serial.println("In ra mỗi 2 giây"); | |
| delay(2000); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment