Response codes
I2C_start;
I2C_address;
I2C_write(EZO_command);
I2C_stop;
delay(300);
I2C_start;
I2C_address;
Char[ ] = I2C_read;
I2C_stop;
Processing delay
After a command has been issued, a 1 byte response
code can be read in order to confirm that the command
was processed successfully.
Reading back the response code is completely optional,
and is not required for normal operation.
Example
If there is no processing delay or the
processing delay is too short, the response
code will always be 254.
Response codes
Single byte, not string
no data to send
still processing, not ready
syntax error
successful request
255
254
2
1
CPU
SCL SDA
CPU
SDA
(TX)
(RX)
SCL
Receiving
data
Send
command
Processing delay
r 0.2
49
Copyright © Atlas Scientific LLC