I2C Interface
Use the BeagleBone Black I2C interface
Using Objects
Using beaglebone Objects | Connection to BeagleBone Black hardware |
Using i2cdev Objects | Connection to I2C device |
Functions
beaglebone | Create connection to BeagleBone Black hardware |
clear | Terminate connection to BeagleBone Black hardware |
showAllPins | Show diagram of all pins |
showPins | Show diagram of GPIO pins |
enableI2C | Enable I2C interface |
scanI2CBus | Scan I2C bus device addresses |
i2cdev | Create connection to I2C device |
read | Read data from I2C device |
write | 写数据I2C device |
readRegister | Read from register on I2C device |
writeRegister | Write to register on I2C device |
Examples and How To
Troubleshooting
Was this topic helpful?