WOLFRAM SYSTEM MODELER
readByte |
|
SystemModel["ModelPlug.Internal.I2C.readByte"]

Reads a single byte from the given register. In some cases, the I2C device can be read without providing a register. In such case, the functions must be called with the register value 0.
This function is equivalent to readUInt8.
| device |
Type: Device |
|---|---|
| state |
Type: State |
| t |
Type: Transaction |
| stage |
Type: Stage |
| register |
Type: Integer |
| data |
Type: Integer |
| new_state |
Type: State |
|---|---|
| new_t |
Type: Transaction |
| data_out |
Type: Integer |