当前位置:首页 > 技术心得 > 正文内容

PlatformIO串口无输出

xjtudll1年前 (2025-02-04)技术心得7180

问题:

同样的串口打印代码,在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前面的√,即不勾选):

sshot-1

参考资料:

https://community.platformio.org/t/cant-get-output-from-serial-monitor/15533/18

扫描二维码推送至手机访问。

版权声明:本文由鸟的天空发布,如需转载请注明出处。

本文链接:http://www.xjtudll.cn/Exp/702/

标签: PlatformIO
分享给朋友:

“PlatformIO串口无输出” 的相关文章

双击打开exe程序和Process.Start区别

问题:使用Process.Start打开.exe程序的时候发现在使用时无法加载启动路径的配置文件。启动代码:Process process = new Process();          &nbs...

NSTextfield只允许输入数字

.wiz-todo, .wiz-todo-img {width: 16px; height: 16px; cursor: default; padding: 0 10px 0 2px; vertical-align: -10%;-webkit-user-select: none;} .wiz-t...

vs2010添加OLE/COM对象查看器

VS2010:工具——外部工具——"添加" 标题:OLE/COM对象查看器 命令:C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\OleView.Exe 点击&qu...

深刻认识差模电压和共模电压

原文作者:佚名 文章来源:http://blog.csdn.net/ywf861029/archive/2009/10/05/4633775.aspx 我们需要的是整个有意义的“输入信号”,要把两个输入端看作“整体”。 就像初中时平面坐标需要用 x,y 两个数表示,而到了高中或大学就只要用...

金蝶K3 业务预警无法自动发送-自定义报表SQL语句发布到业务预警,无法自动发送出来

客户问题:业务预警无法自动发送:客户自己写的自定义报表SQL语句发布到业务预警,无法自动发送出来 解决方案:在客户的语句前加上:set nocount on 即可...

Altium pcb文件过大

Altium pcb文件过大

问题描述: 一些Altium Designer设计的文件看上去板子小且走线也不多,但是保存后文件却比较大。 原因: 通常是在PCB中放置了非默认字体的字符。 在软件里面有一个默认的选项“Embed  TrueType Fonts inside PCB Doc...

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。