python-apds9960 icon indicating copy to clipboard operation
python-apds9960 copied to clipboard

Gestures are not working on ESP32

Open plugowski opened this issue 7 years ago • 2 comments

When I try to run example gesture code I get:

Gesture Test
============
Traceback (most recent call last):
  File "<stdin>", line 31, in <module>
  File "apds9960/device.py", line 185, in readGesture
  File "apds9960/device.py", line 1103, in _read_i2c_block_data
OSError: I2C bus error (6)

Any ideas what is wrong?

plugowski avatar Dec 09 '18 22:12 plugowski

exec(open('test_ambient.py').read(),globals()) Traceback (most recent call last): File "", line 1, in File "", line 10, in File "apds9960/device.py", line 41, in init File "apds9960/exceptions.py", line 3, in init AttributeError: type object 'Exception' has no attribute 'init'

me too,my function error

coffice12 avatar Sep 20 '19 07:09 coffice12

exec(open('test_ambient.py').read(),globals()) Traceback (most recent call last): File "", line 1, in File "", line 10, in File "apds9960/device.py", line 41, in init File "apds9960/exceptions.py", line 3, in init AttributeError: type object 'Exception' has no attribute 'init'

me too,my function error

@coffice12 this is not related since it is triggered by an unknown device ID (#10)

liske avatar Sep 21 '19 10:09 liske