I2C class abstract
Base I2C interface supported by all I2C implementations.
- Implementers
Constructors
- I2C()
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.
-
device(
int address) → I2CDevice -
Return the I2CDevice for communicating with the device at
address
. -
dispose(
) → void - Call dispose before exiting your application to cleanup native resources.
-
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