Skip to content

Slow refresh rate #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
joezilla86 opened this issue Jun 20, 2023 · 2 comments
Closed

Slow refresh rate #65

joezilla86 opened this issue Jun 20, 2023 · 2 comments

Comments

@joezilla86
Copy link

Between 3.4.13 and 3.5 release, the rate at which the sensor returns readings has drastically slowed. I can get a new reading every ~0.3 seconds (the sensor can return readings much faster than this, but they only update about every 0.3 seconds). Whereas when I change to 3.5.0 the readings only update about every 4 seconds.

I tried the following minimal code using a QtPY ESP32-S2 and a BME688 and the only thing I'm changing is the version of the BME680 library loaded on the board.

import board
import busio
import time
from adafruit_bme680 import Adafruit_BME680_I2C as BME688

i2c = busio.I2C(board.SCL1, board.SDA1)
sensor = BME688(i2c)

while True:
    print('Temp: {} C \tPres: {} hPa\t{}'.format(sensor.temperature, sensor.pressure, time.monotonic()))
    #time.sleep(.25)
@CTho9305
Copy link
Contributor

Could you check whether this is fixed in the latest version?

@FoamyGuy
Copy link
Contributor

FoamyGuy commented Nov 7, 2024

Closing this for now. I believe #67 should resolve it. If you get back to this and try the newest version and still have the problem feel free to re-open.

@FoamyGuy FoamyGuy closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants