Interfaccia I2C
Utilizzare l'interfaccia I2C di BeagleBone® Black
Utilizzare l'interfaccia I2C di BeagleBone Black per collegare e controllare i dispositivi
Oggetti
beaglebone | Connection to BeagleBone Black hardware |
i2cdev | Connection to device on BeagleBone Black I2C bus |
Funzioni
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 |
read | Read data from I2C device |
write | Write data to I2C device |
readRegister | Read from register on I2C device |
writeRegister | Write to register on I2C device |
Argomenti
- Use BeagleBone Black I2C Interface to Connect to Device
Use the I2C interface on the BeagleBone Black hardware.
- Control Four-Digit Seven-Segment Display Using I2C
This example shows you how to use the I2C peripheral on BeagleBone Black® hardware to control a four-digit seven-segment display.
- BeagleBone Black I2C Interface
I2C Interface on the BeagleBone Black hardware.
- BeagleBone Black Pin Map
Detailed description of BeagleBone Black pin map.
Risoluzione dei problemi
Troubleshoot BeagleBone Black I2C Interface
Troubleshoot I2C interface on the BeagleBone Black hardware.