|Top Previous Next|
Gets or sets the data rate on the I²C bus.
The data rate on the I²C bus.
The I²C bus is enabled by setting this property to a positive value. Most I²C devices operate at 400 kHz although some use 100 kHz. You must check the specifications of the devices you connect and use the lowest rate.
Setting this property to zero disables the I²C bus, allowing the associated pins to be used for other purposes.
Cell.I2C.bitRate = 400000;