pico-examples
pico-examples copied to clipboard
Error in bme280_spi example
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.