xod/i2c

License: AGPL-3.0

I²C (aka I2C, IIC, TWI) bus interfacing
NodeDescription
begin-transmission
Begins a transmission to the I²C slave device
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.
request
Requests N bytes from a given slave I²C device
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.
write-byte
Pushes a byte to send queue.