LoginSignup
4
7

More than 5 years have passed since last update.

Golangでシリアルポート(UART)を使う

Last updated at Posted at 2018-01-18

私が使ったライブラリを紹介します。

https://github.com/goburrow/serial
私の環境ではボーレート230400 baud でも使用できました。
readのときのタイムアウトを指定することができ、それを超えるとEOFが返ってきます。

最初は以下のものを使用していたのですが、ボーレートが115200まではよかったのですが、230400ができなかったのでやめました。
https://github.com/tarm/serial

4
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
7