RpiI2C class
The I2C interface used for accessing I2C devices on the Raspberry Pi.
Constructors
- RpiI2C()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
allocateAddress(
int address) → void -
Check that the address can be used for I2C
and that is has not already been allocated.
This should be called by subclasses not clients.
inherited
-
device(
int address) → I2CDevice -
Return the I2CDevice for communicating with the device at
address
.override -
dispose(
) → void -
Call dispose before exiting your application to cleanup native resources.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited