Skip to content

Conversation

kattni
Copy link
Contributor

@kattni kattni commented May 21, 2018

Still needs touchio support as well as the recently updated version of LIS3DH to really work with 3.0, but both are external issues. Once in place, this lib should work with 3.0.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for updating this!

audio.play()
while audio.playing:
pass
if sys.implementation.version[0] == 3:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do >= instead of == so it works on 4.0.0 and beyond.

@kattni
Copy link
Contributor Author

kattni commented May 22, 2018

@tannewt Done.

My general intention is to remove the 2.x specific stuff once 3.0 is released. We're already so tight on memory that I think it would be worth it. We won't be updating 2.x eventually anyway so the lib can remain frozen as-is.

@tannewt
Copy link
Member

tannewt commented May 22, 2018

@kattni removing after 3.0.0 is released sounds good to me! I just know I forget sometimes. :-)

@tannewt tannewt merged commit d82fb23 into adafruit:master May 22, 2018
tannewt pushed a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request May 25, 2018
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

Successfully merging this pull request may close these issues.

2 participants