enableI2C
Enable I2C interface
Syntax
Description
enableI2C(
enables the indicated I2C bus and configures the GPIO pins for use as I2C pins. After you start the hardware, thebbb
,bus_number
)i2c-1
bus is enabled by default.
Examples
Input Arguments
See Also
beaglebone
|scanI2CBus
|i2cdev
|read
|write
|readRegister
|writeRegister
|MATLAB Support Package for BeagleBone Black Hardware
Topics
Introduced in R2015a