Skip to content

Remove use of int pin from simpletest example? #64

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

Closed
caternuson opened this issue Nov 20, 2020 · 3 comments
Closed

Remove use of int pin from simpletest example? #64

caternuson opened this issue Nov 20, 2020 · 3 comments

Comments

@caternuson
Copy link
Contributor

Make simpletest even more simple. The int pin is not really needed for basic accelo readings.

@ladyada
Copy link
Member

ladyada commented Nov 20, 2020

thats fine, its needed for the tap examples

@caternuson
Copy link
Contributor Author

yep. totes. and looks like there's a good one for that.

this would be specific to just the lis3dh_simpletest.py example. something super simple.

Adafruit CircuitPython 5.3.1 on 2020-07-13; Adafruit ItsyBitsy M4 Express with samd51g19
>>> import board
>>> import adafruit_lis3dh
>>> lis = adafruit_lis3dh.LIS3DH_I2C(board.I2C())
>>> lis.acceleration
acceleration(x=0.325669, y=0.354405, z=9.93291)
>>> 

i'll pr something....

@caternuson
Copy link
Contributor Author

Fixed with #65

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

2 participants