![GSS CozIR-Blink User Manual Download Page 34](http://html.mh-extra.com/html/gss/cozir-blink/cozir-blink_user-manual_2275520034.webp)
USER GUIDE
Gas Sensing Solutions Ltd.
Revision 1.2, 29 March 2021
Page | 34 For regular updates, sign up at https://gassensing.co.uk
Copyright © 2021 Gas Sensing Solutions Ltd.
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.
Before reading from or writing to I
2
C registers, press
the ‘Reset’ button.
The S0 and S1 indicate that a power-cycle has occurred after selecting the Reset button.
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.
An OK will be returned showing that the command has been accepted.
Note the debug button does not function in I
2
C mode.