I2CDevice class abstract
An I2C Device
- Implementers
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readByte(
int register) → int -
Read a byte from register #
register. -
readBytes(
List< int> values) → int -
Read
values.length # of bytes from the device (no register) intovalueswhere thevalues.length is between 1 and 32 inclusive. Return the # of bytes read. -
readWord(
int register) → int -
Read a 16 bit value from register #
registeror two consecutive registers. -
toString(
) → String -
A string representation of this object.
inherited
-
writeByte(
int register, int value) → void -
Write a byte to register #
register.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited