I have recently got a BME280 and I am using the rpi pico micropython library (pimoroni-pico/micropython/modules/breakout_bme280 at main · pimoroni/pimoroni-pico · GitHub)
I would like to run this in forced mode, as per the documentation
I can see there is a
bme.configure() method - but I cant figure out how to set the mode to forced using it - unless I am missing something stupid.
bme.configure(FILTER_COEFF_2, STANDBY_TIME_0_5_MS, OVERSAMPLING_16X, OVERSAMPLING_2X, OVERSAMPLING_1X)
NameError: name 'FILTER_COEFF_2' isn't defined - presumably since python doesnt know about the constants
bme.configure(bme.FILTER_COEFF_2) also doesnt work.
I tried looking at the c++ code for more insight but C isnt my strong point.
Does anyone have any ideas?