raspberry_pi_version_hardware
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
raspberry_pi_version_hardware [2016/03/06 08:38] – [WiringPi (C言語で操作する方向け)] yaasan | raspberry_pi_version_hardware [2016/05/11 07:40] – [Node.js (Webアプリで使用する方向け)] yaasan | ||
---|---|---|---|
行 178: | 行 178: | ||
Raspberry PiのGPIO(汎用端子)、UARTやSPI, | Raspberry PiのGPIO(汎用端子)、UARTやSPI, | ||
- | Wiring pi is a library to access GPIO and UART, SPI, I2C. The description is similar with Arduino. This sample is based on this library. | + | Wiring pi is a library to access GPIO and UART, SPI, I2C. The description is similar with Arduino. This sample is based on this library. The following command is to download wiringPi related software. |
< | < | ||
行 187: | 行 187: | ||
wiringPi(Raspberry Pi用のGPIOライブラリ)のインストール作業が中心です。\\ | wiringPi(Raspberry Pi用のGPIOライブラリ)のインストール作業が中心です。\\ | ||
- | The above command means to install wiringPi. | + | The following |
< | < | ||
行 214: | 行 214: | ||
ここでは、インストール手順は省略しますが、node.jsとnpmのインストールが完了していることをご確認ください。 | ここでは、インストール手順は省略しますが、node.jsとnpmのインストールが完了していることをご確認ください。 | ||
+ | |||
+ | ^software ^version ^notes ^ | ||
+ | |Raspbian | JESSIE, Mar 2016 | | | ||
+ | |node.js | 6.x | | | ||
+ | |[[https:// | ||
+ | |||
DSpi用のNode.jsアプリでは、[[https:// | DSpi用のNode.jsアプリでは、[[https:// | ||
行 219: | 行 225: | ||
< | < | ||
npm install rpio | npm install rpio | ||
+ | </ | ||
+ | |||
+ | Root権限で、以下の設定を行う必要があります。 | ||
+ | |||
+ | < | ||
+ | $ cat >/ | ||
+ | SUBSYSTEM==" | ||
+ | EOF | ||
</ | </ | ||
raspberry_pi_version_hardware.txt · 最終更新: 2019/02/19 15:06 by yaasan