Node | Description |
---|---|
begin-transmission | Begins a transmission to the I²C slave device.
Possible errors:
— Invalid I2C address |
end-transmission | Ends a transmission to a slave device initiated with `begin-transmission`. All bytes queued for writing with `write-byte` will flush at the moment of this node trigerring.
Possible errors:
— Data too long to fit in transmit buffer
— Received NACK on transmit of address
— Received NACK on transmit of data
— Other error |
i2c | I²C interface object constructor. Returns hardware I²C #0. |
read-byte | Reads the next byte received from an I²C device after `request` succeeded.
Possible errors:
- Can't read byte |
request | Requests N bytes from a given slave I²C device.
Possible errors:
— Invalid I2C address |
write-byte | Pushes a byte to send queue.
Possible errors:
— No bytes written. Probably due to buffer overflow. |