| Variables | address | Device address, in hex |
| data | Data to send, a string of hex pairs (ex. 3 bytes "03F455") | |
| length | Number of bytes to read, in hex | |
| Description | Write bytes to an I2C device, then read bytes from the device. Data is displayed in hex. | |
| Uses combined mode transfer. | ||
| Related Documents |
COMMAND: i2c read <address> <length> | |
|
COMMAND: i2c write <address> <data> | ||
|
ERRORCODE: [02100] Invalid parameter | ||
|
ERRORCODE: [02104] I2C address is invalid | ||
|
ERRORCODE: [02101] Slave did not send acknowledge | ||