RpiI2CDevice class
Properties
address
→ int
final inherited
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
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
.
override
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.
override
readWord (int register )
→ int
Read a 16 bit value from register #register
or two consecutive registers.
override
toString ()
→ String
A string representation of this object.
inherited
writeByte (int register , int value )
→ void
Write a byte to register #register
.
override