03-23-2021 06:58 PM
Hi all, I use bosch library for bme680 sensor. How come the temperature value is always -218.46 and the pressure is zero? the humidity and gas resistance values on the other hand are correct.
Solved! Go to Solution.
03-29-2021 11:42 AM
03-29-2021 06:17 PM
Hello Giulietta,
I checked your code one more time, and I think below line is the problem.
user_delay_ms(meas_period + delay*1000); /* Delay till the measurement is ready */
Please just use
user_delay_ms(meas_period); /* Delay till the measurement is ready */
For test, you can test with 300ms delay something like that.
I attached my example for reference.
Thanks,
03-30-2021 11:56 AM
The code now works! thank you very much!