I2cBus
Description
The I2cBus object represents an I2C bus with attached I2cDevice objects. This abstract base object provides common properties and methods only. Use a dedicated I2C bus implementation such as SystemI2cBus and FtdiI2cBus.
- › Inherits:
- › Inherited by:
Overview
Properties
Methods
Signals
Properties
devices
This property holds a list of I2C devices to use on this bus.
speed
This property holds the bus speed in Hz.
- › Type:
UnsignedInteger
- › Default:
100000- › Signal:
speedChanged()
- › Attributes:
Writable
Signals
devicesDataChanged(SignedInteger index)
This signal is emitted whenever the List.dataChanged() signal is emitted, i.e. the item at index in the devices list itself emitted the dataChanged() signal.