-
Notifications
You must be signed in to change notification settings - Fork 4
I2C Commands
Mark Grebe edited this page Aug 20, 2015
·
3 revisions
Cmd |
---|
0x50 |
Cmd | Addr | Count | Stop |
---|---|---|---|
0x51 | 0xXX | 0xXX | 0x00/0x01 |
Fields
Addr - I2C Slave address to read from.
Count - Number of bytes to read from I2C slave.
Cmd | Addr | Values Byte 0 | ... | Values Byte n |
---|---|---|---|---|
0x52 | 0xXX | 0xXX | ... | 0xXX |
Fields
Addr - I2C Slave address to write to,
Values - n bytes to write to slave address
Cmd | Values Byte 0 | ... | Values Byte n |
---|---|---|---|
0x58 | 0xXX | ... | 0xXX |
Fields
Values - n bytes read from slave address