===== MEMS WRITE ===== With WRITE command you can write one or more location/s in the Carberry MEMS. ==== Synopsis ==== MEMS WRITE [] WRITE accepts at least two parameters as: |Param|Description|Range| || MEMS location address in HEX notation where start to write.|0x00 - 0x80| || Data byte to write| 0x00 - 0xFF| |[]| Other optional bytes to write in sequence| 0x00 - 0xFF| === Notes === - In the command parameters, if you write more than one byte you must omit "0x" before data parameters. - Multiple data bytes must be always represented by two characters, whithout spaces from each other. ==== Return ==== WRITE command returns OK. ==== Examples ==== Writing one byte to FXOS8700CQ_CTRL_REG1 register MEMS WRITE 0x00 0x2A OK