Ashet OS

enum: ashet.io.i2c.Operation.Type

Items

ping = 0

The device will be addressed, but no read or write operation will be performed. This can be used to detect if certain devices are present.

Success of this operation can be detected by the resulting error code.

read = 1

Reads the given amount of bytes from the device.

write = 2

Writes the given amount of bytes to the device.