Main Content
enableI2C
Enable I2C interface
Add-On Required: This feature requires the MATLAB Support Package for BeagleBone Black Hardware add-on.
Description
enableI2C(
enables the indicated I2C bus and configures the GPIO pins for use as I2C pins.
After you start the hardware, the bbb
, bus_number
)i2c-1
bus is enabled by
default.
Examples
Input Arguments
Version History
Introduced in R2015a
See Also
beaglebone
| scanI2CBus
| i2cdev
| read
| write
| readRegister
| writeRegister
| BeagleBone Black