Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gestures are not working on ESP32 #7

Open
plugowski opened this issue Dec 9, 2018 · 2 comments
Open

Gestures are not working on ESP32 #7

plugowski opened this issue Dec 9, 2018 · 2 comments

Comments

@plugowski
Copy link

plugowski commented Dec 9, 2018

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?

@coffice12
Copy link

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

@liske
Copy link
Owner

liske commented Sep 21, 2019

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants