-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Trying to use the sensor but when I try and run read-heartbeat.py, I gt the following error:
Traceback (most recent call last):
File "/home/pi/max30105-python/examples/read-heartbeat.py", line 10, in
max30105.setup()
File "/usr/local/lib/python3.5/dist-packages/max30105/init.py", line 319, in setup
self.soft_reset(timeout=timeout)
File "/usr/local/lib/python3.5/dist-packages/max30105/init.py", line 353, in soft_reset
while self._max30105.get('MODE_CONFIG').reset and time.time() - t_start < timeout:
File "/usr/local/lib/python3.5/dist-packages/i2cdevice/init.py", line 232, in get
result[field] = self.get_field(register, field)
File "/usr/local/lib/python3.5/dist-packages/i2cdevice/init.py", line 247, in get_field
value = field.adapter._decode(value)
File "/usr/local/lib/python3.5/dist-packages/i2cdevice/adapter.py", line 26, in _decode
raise ValueError("{} not in lookup table".format(value))
ValueError: 0 not in lookup table
Please help!