@synd wrote:
Hi i want to try out the MAX30105 Breakout Bord with Breakout Garden. I used the heartbeat example and got the following error message:
Traceback (most recent call last):
File “/home/pi/breakout-garden-master/examples/heartbeat/heartbeat.py”, line 41, in
max30105.setup(leds_enable=2)
File “/usr/local/lib/python3.7/dist-packages/max30105-0.0.2-py3.7.egg/max30105/init.py”, line 319, in setup
self.soft_reset(timeout=timeout)
File “/usr/local/lib/python3.7/dist-packages/max30105-0.0.2-py3.7.egg/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.7/dist-packages/i2cdevice-0.0.6-py3.7.egg/i2cdevice/init.py”, line 232, in get
result[field] = self.get_field(register, field)
File “/usr/local/lib/python3.7/dist-packages/i2cdevice-0.0.6-py3.7.egg/i2cdevice/init.py”, line 247, in get_field
value = field.adapter._decode(value)
File “/usr/local/lib/python3.7/dist-packages/i2cdevice-0.0.6-py3.7.egg/i2cdevice/adapter.py”, line 26, in _decode
raise ValueError("{} not in lookup table".format(value))
ValueError: 0 not in lookup tableI2c is working, because othe examples are working!
Posts: 1
Participants: 1