Profile

User profile and story timeline

user-img
nyg

Mac下consol口配置软件,系统自带screen命令(无需安装)

这是最便捷的方式,直接用终端操作:
screen /dev/tty.debug-console 9600,cs8,-parenb,-cstopb,-hupcl

替换为实际识别的串口设备(如/dev/tty.wchusbserial1410)

screen /dev/tty.xxx 9600,cs8,-parenb,-cstopb,-hupcl
参数说明:9600是波特率(交换机默认通常为 9600,部分是 115200),cs8是数据位 8 位,其余为无校验、1 位停止位。
退出screen:按Ctrl+A再按K,输入y确认。
ls /dev/tty.*查看本机的串口设备

回复