pimoroni / max30105-python

Python library for the Pimoroni MAX30105 breakout
https://shop.pimoroni.com/products/max30105-breakout-heart-rate-oximeter-smoke-sensor
MIT License
20 stars 14 forks source link

RuntimeError: Timeout: Waiting for INT_STATUS_2, die_temp_ready. when using get_temperature() #6

Open Gadgetoid opened 4 years ago

Gadgetoid commented 4 years ago

Title says all, there's a timeout condition on INT_STATUS_2 when attempting to read the temperature from device- something must be awry:

Traceback (most recent call last):
  File "get-temperature.py", line 20, in <module>
    temp = max30105.get_temperature()
  File "/home/pi/max30105-python/library/max30105/__init__.py", line 413, in get_temperature
    raise RuntimeError('Timeout: Waiting for INT_STATUS_2, die_temp_ready.')
RuntimeError: Timeout: Waiting for INT_STATUS_2, die_temp_ready.