I2CDevice class abstract

An I2C Device

Implementers

Constructors

I2CDevice(int address)

Properties

address int
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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) into values where the values.length is between 1 and 32 inclusive. Return the # of bytes read.
readWord(int register) int
Read a 16 bit value from register #register or 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