adafruit / Adafruit_CircuitPython_APDS9960

Adafruit Bundle driver for APSD9960 Gesture breakout board
MIT License
11 stars 17 forks source link

RuntimeError GY-9960 #44

Closed dertobias closed 11 months ago

dertobias commented 11 months ago

Hi all! i have this board: https://www.berrybase.at/apds-9960-rgb-infrarot-gestensensor

but cant get it to work with my xiao nrf:

Traceback (most recent call last):
  File "main.py", line 8, in <module>
  File "adafruit_apds9960/apds9960.py", line 187, in __init__
RuntimeError: 

i2c address is the same as in library

thanks ahead

dertobias commented 11 months ago

commenting out line 186+187 seems to solve my problem.


 186       # if self._read8(_APDS9960_ID) != _DEVICE_ID:
 187       #     raise RuntimeError()

odd.