I2C

API Documentation: [cpp] [python] [.NET] [CCA] [REST]

BrainStem modules may have the ability to read, write data on up to two I2C busses


I2C Control

The USBHub3c has the ability to send and receive I2C messages through the back expansion connector.

The I2C interface is controlled through the following APIs:

stem.i2c[x].read()[cpp][python][NET][CCA]
stem.i2c[x].write()[cpp][python][NET][CCA]
stem.i2c[x].setPullup()[cpp][python][NET][CCA]
stem.i2c[x].setSpeed()[cpp][python][NET][CCA]
stem.i2c[x].getSpeed()[cpp][python][NET][CCA]