03-14-2019 02:48 AM
I am using the BME280 to get temp, pressure and humidity in demand mode 1/sec. I have over sampling for each parameter set to 1. Temp and humidity work. The pressure should be around 1020 but comes back around 630. Sometimes I get the correct value but most of the time it is stuck in the 630s. Any idea what I am doing wrong? I am using the 64 bit compensation functions from the data sheet.
Thanks
Solved! Go to Solution.
03-18-2019 09:17 PM
Found my problem. The write function was using an uninitialized stack value, causing random values to be sent to the control registers of the BMS280.
02-17-2021 12:20 PM - edited 02-17-2021 12:20 PM
Hey I am also facing the same issue,can you tell me where exactly in the write function