I installed this library via Thonny packages and after running the example it throws me this error:
Warning: I2C(-1, ...) is deprecated, use SoftI2C(...) instead
Traceback (most recent call last):
File "", line 10, in
File "/lib/apds9960/device.py", line 41, in init
File "/lib/apds9960/exceptions.py", line 3, in init
AttributeError: type object 'Exception' has no attribute 'init'
I installed this library via Thonny packages and after running the example it throws me this error: Warning: I2C(-1, ...) is deprecated, use SoftI2C(...) instead Traceback (most recent call last): File "", line 10, in
File "/lib/apds9960/device.py", line 41, in init
File "/lib/apds9960/exceptions.py", line 3, in init
AttributeError: type object 'Exception' has no attribute 'init'
Can you please help me?