Closed ig1711 closed 5 months ago
Yes, I think you're right. And unless my eyes deceive me, dig_H1 isn't being read
Is this the same thing as #111 and #442 or are those slightly different?
The first is the dig_H1 problem I mention above, the second is different!
0xE5[7:4] / 0xE6
dig_H5 [3:0] / [11:4]
0xE7
dig_H6
But, in bme280_spi.c#L173-L174,
dig_H5
is evaluated with the values of the registers0xE6 and 0xE7
anddig_H6
is evaluated with the values of0xE8
(Note:buffer[0]
is the value of0xE1
, so,buffer[5]
,buffer[6]
andbuffer[7]
have values of0xE6
,0xE7
and0xE8
respectively) i.e, not in accordance with the datasheet.