Main Content

I2C Interface

Use the BeagleBone® Black I2C interface

Use BeagleBone Black I2C interface to connect to and control devices

Objects

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

Functions

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

Topics

Troubleshooting

Troubleshoot BeagleBone Black I2C Interface

Troubleshoot I2C interface on the BeagleBone Black hardware.

Featured Examples