Mac上连接串口的方法
1,查看相关串口设备:
ls /dev/tty.*
2,拿到新增的设备后,如:/dev/tty.usbserial-120
使用screen
screen /dev/tty.usbserial-120 115200
可以使用logcat打印日志了
3,退出串口
进入screen 后按两次enter 。
先按Ctrl + A ,然后 Ctrl + K。
Mac上连接串口的方法
1,查看相关串口设备:
ls /dev/tty.*
2,拿到新增的设备后,如:/dev/tty.usbserial-120
使用screen
screen /dev/tty.usbserial-120 115200
可以使用logcat打印日志了
3,退出串口
进入screen 后按两次enter 。
先按Ctrl + A ,然后 Ctrl + K。