CozIR
®
-LP3 Evaluation Board User Guide
Revision 1.5: 15 December 2020
Page | 34 For regular updates, go to https://gassensing.co.uk
TERMINAL VIEW – I
2
C WRITE
To open the terminal window for I
2
C communications, first ensure that ‘I
2
C Comms’ has been
selected under the ‘Communications’ menu.
To write to an I
2
C register, the instruction must be formatted correctly.
Writes are formatted as “%wr”, followed by the number of bits to write, followed by the register
number in decimal, followed by the decimal value to write to the register.
For example: “%wr8 5 1” will write the value 1 (as an 8-bit word) to register 5, which will zero the
sensor in ambient conditions as per the datasheet.
Note the debug button does not function in I
2
C mode.