I2c class

Constructors

I2c(String device)
I2c.fromBusNumber(int busNumber)

Properties

device String
getter/setter pair
fd int
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
init() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readByteListReg(int slaveAddress, int register, int rxSize) Future<Uint8List>
readByteReg(int slaveAddress, int register) Future<int>
receive(int slaveAddress, int rxSize) Future<Uint8List>
toString() String
A string representation of this object.
inherited
transceive(int slaveAddress, Uint8List txBuf, int rxSize) Future<Uint8List>
transmit(int slaveAddress, Uint8List txBuf) Future<void>
writeByteListReg(int slaveAddress, int register, Uint8List txBuf) Future<void>
writeByteReg(int slaveAddress, int register, int value) Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited