メインコンテンツ

I2C インターフェイス

BeagleBone® Black の I2C インターフェイスの使用

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

オブジェクト

beagleboneConnection to BeagleBone Black hardware
i2cdevConnection to device on BeagleBone Black I2C bus

関数

clearTerminate connection to BeagleBone Black hardware
showAllPinsShow diagram of all pins
showPinsShow diagram of GPIO pins
enableI2CEnable I2C interface
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 BeagleBone Black I2C Interface

Troubleshoot I2C interface on the BeagleBone Black hardware.

注目の例