02-28-2023 01:53 PM
Hi,
I have gone through the data sheet of BME280 in that there are configurations related to sensor enable and disable like shut off the sensor which is not needed like if i need temperature I need to disable the rest two.So can you please help me in debuuging thiS problem in code.
Thank you
K.Pranitha Reddy
Solved! Go to Solution.
02-28-2023 03:29 PM
Hi PranithaReddy,
You could refer the following example code on github code https://github.com/boschsensortec/BME280_driver/blob/master/examples/bsd_userspace.c
settings_sel = BME280_OSR_PRESS_SEL | BME280_OSR_TEMP_SEL | BME280_OSR_HUM_SEL | BME280_FILTER_SEL;
rslt = bme280_set_sensor_settings(settings_sel, dev);
05-22-2023 08:13 AM - edited 05-24-2023 01:34 PM
Hi,
Sorry for the delay I went through the source code which you asked me to refer in that bsd_userpspace.c file there is no such function called settings_sel. I want to make my requirement more clear by addressing it once again. I want the solution for configuring individual sensors like for example only temperature rest of the two sensors like pressure and humdity should be disabled. Can you please provide the solution.
Thank You
K. Pranitha Reddy