How to open serial port in linux without changing any pin?

后端 未结 4 1075
南旧
南旧 2021-02-19 00:39

Posix requires changing RTS pin on port opening. I want a way to avoid it.

4条回答
  •  粉色の甜心
    2021-02-19 01:35

    calling fopen("/dev/ACM0", "r") doesn't require you do do anything:) You may not receive the data you expect though.

提交回复
热议问题