今天刚发现 arduino 串口通讯居然不支持 Serial. end () ;

发布于 2025-02-17 13: 18: 03

1739769428145. jpg
今天刚发现 arduino 串口通讯居然不支持 Serial. end () ; 请问怎么解决这个问题, 我觉得这个很重要! ! ! 我使用的是 W806

查看更多

关注者
0
被浏览
163
2 个回答
AnatolSher
AnatolSher 认证专家 4 天前
Lover of the ocean, yachts and Arduino

Hi. The lack of Serial. End () method is not critical in most cases. Its work is to deinitialize the hardware UART and release the controller pins that were connected to it.
It should be noted that the HardwareSerial class is static and calling the End () method does not free RAM. It is not difficult to add support for this method, but I would like to know how you want to use it.

小学生
小学生 4 天前
我是小学生

非常感谢 Anatolsher 的帮助

撰写答案

请登录后再发布答案, 点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览