メインコンテンツ

I2C インターフェイス

Raspberry Pi® の I2C インターフェイスの使用

Raspberry Pi の I2C インターフェイスを使用してデバイスに接続し、制御します。

オブジェクト

raspiConnection to Raspberry Pi board
i2cdevConnection to device on Raspberry Pi hardware

関数

scanI2CBusScan I2C bus device addresses
readRead data from I2C device
writeWrite data to I2C device
readRegisterRead from register on I2C device
writeRegisterWrite to register on I2C device

トピック

トラブルシューティング

Troubleshoot Raspberry Pi I2C Interface

Troubleshoot I2C interface on the Raspberry Pi hardware.

注目の例