摘要:
UART,COM指的物理接口形式(硬件)。 COM口( cluster communication port )即串行通讯端口,简称串口,包括UART(TTL电平)、RS232、RS422、RS485等。 UART口(Universal Asynchronous Receiver/Transmitt 阅读全文
摘要:
命令行下: 查看所有串口 ls dev/tty* 查看串口信息 stty -F dev/ttyTHS1 -a 配置串口信息 stty -F dev/ttyTHS1 ispeed 115200 ospeed 115200 cs8 发送数据 echo 2131 > /dev/ttyTHS1(直接发即可, 阅读全文