Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add notes about using I2C on Ubuntu 18.04 arm64, close #13
  • Loading branch information
Tiryoh authored Mar 6, 2019
1 parent 864acce commit c037632
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ $ sudo insmod rtmouse.ko

## ドライバの導入の際の注意

### Raspbian

以下の設定を確認ください。
raspi-configコマンドで設定します
`raspi-config` コマンドで設定します

* SPI機能を「入」にする。

Expand All @@ -44,6 +46,16 @@ rtmouseをインストールして不具合が出た場合のみ以下の設定

* Device Tree機能を「切」にする。

### arm64版Ubuntu18.04

I2Cのbaudrateをデフォルト値より下げる必要があります([issues#13](https://github.com/rt-net/RaspberryPiMouse/issues/13))。

`/boot/firmware/config.txt`に以下の1行を追加することでI2Cのbaudrateを62.5kHzに固定することができます。

```
dtparam=i2c_baudrate=62500
```

## 日経Linux連載

連載(Raspberry Piで始めるかんたんロボット製作)で上田氏が書いた
Expand Down

0 comments on commit c037632

Please sign in to comment.