pico-examples icon indicating copy to clipboard operation
pico-examples copied to clipboard

Error in bme280_spi example

Open ms1963 opened this issue 4 years ago • 0 comments

The call read_registers(0x88, buffer, 24); within read_compensation_parameters() should be changed to read_registers(0x88, buffer, 26); as the compensation parameter DIG_H1 resides in 0xA1 according to the BME280 datasheet, so that 26 bytes must be read.

ms1963 avatar May 10 '21 15:05 ms1963