OK a quick look than,
the protocol looks not too difficult, If I am correct you need to request 4 bytes and do some math on them.
It can be done quite similar as the other sensor, something like below.
(partial concept code)
Wire.requestFrom(addrs, 4); // contents of your first two registers
while(Wire.available() < 4 ); // Check for data from slave
{
delay(1000);
lobyte = Wire.read(); // Read press high byte
Serial.println(lobyte, DEC);
hibyte = Wire.read(); // Read press low byte
Serial.println(hibyte, DEC);
Temp= toTemperature(hibyte, lobyte);
Serial.print("Temperature: ");
Serial.println(Temp);
lobyte = Wire.read(); // Read press high byte
Serial.println(lobyte, DEC);
hibyte = Wire.read(); // Read press low byte
Serial.println(hibyte, DEC);
Hum = toHumidity(hibyte, lobyte);
Serial.print("Humidity: ");
Serial.println(Hum);
delay(1000);
}
Now it is your turn ![]()