Tool/software:
Hi,
Is it possible to retrieve the three temperatures (local, remote1 and remote2) in a single (or dual) I2C reading ?
For now, I make two I2C readings MSB and LSB by sensor :
- 2 (MSB+LSB) for local,
- 2 (MSB+LSB) for remote1 and
- 2 (MSB+LSB) for remote2.
--> total 6 transactions. A transaction equals 2 bytes (=1 byte addr and 1 byte data)
When I try to read the 3 MSB bytes and the 3 LSB bytes, the first msb and the first lsb are good but the other are not good !!!!
--> msb=[0x1B 0xFF 0xFF]
--> lsb=[0x00 0xFF 0xFF]
gives :
- local(°C)=27.00
- remote1(°C)=255.87
- remote2(°C)=255.87
Thank for your advice