2013年8月10日土曜日

Pythonを使ってRaspberry PiのI2Cを動かす


Raspberry Pi and Arduino Connected Using I2C


http://blog.oscarliang.net/raspberry-pi-arduino-connected-i2c/

I2CでRPiとArduinoをつなぐ、って話だが十分参考になる


Raspberry Pi I2C (Python)

http://www.instructables.com/id/Raspberry-Pi-I2C-Python/
話は同じだけど外付けデバイスのコントロール例がいくつか付いているのでそれはそれで参考に。



I2C and the Raspberry Pi


http://www.bootc.net/archives/2012/05/19/i2c-and-the-raspberry-pi/
これはCのコードを使った例だけど、ちょっと取っ付きにくかったので未検証