With WRITE command you can write one or more location/s in the Carberry MEMS.
MEMS WRITE <ADDR> <DATA>[<DATA>]
WRITE accepts at least two parameters as:
Param | Description | Range |
<ADDR> | MEMS location address in HEX notation where start to write. | 0x00 - 0x80 |
<DATA> | Data byte to write | 0x00 - 0xFF |
[<DATA>] | Other optional bytes to write in sequence | 0x00 - 0xFF |
WRITE command returns OK.
Writing one byte to FXOS8700CQ_CTRL_REG1 register
MEMS WRITE 0x00 0x2A OK