RpiI2CDevice class

Inheritance

Constructors

RpiI2CDevice(int address, int _fd, _RpiI2CDynamicLibrary _dylib)

Properties

address int
finalinherited
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.
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

Operators

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