The Qt Serial Port 模塊提供下列參考範例,以幫助理解 API 用法。
To run the examples from Qt Creator, open the 歡迎 模式,然後選擇範例從 範例 。更多信息,拜訪 構建和運行範例 .
Blocking Receiver
Blocking Sender
Serial Terminal
運行範例