PlatformIO串口无输出
问题:
同样的串口打印代码,在Arduino IDE里可以正常输出,但是在PlatformIO里看不到任何输出
硬件:ESP32-S3 Camera
解决方法:
This is because DTR and RTS both are connected to the RESET pin and GPIO 0 of the esp 8266 chip, and by default in the terminal serial port in visual studio code DTR and RST pin of the the serial to usb adapter are active and prevent the chip to act as normal.
Solution:
In terminal serial port press CTRL + T and then CTRL + D to inactive DTR and then CTRL + T and then CTRL + R to inactive RST pin
界面里操作如下(去掉DTR和RTS前面的√,即不勾选):
参考资料:
https://community.platformio.org/t/cant-get-output-from-serial-monitor/15533/18




