Skip to content

Update to use adafruit_pixelbuf. #56

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

Merged
merged 2 commits into from
Jul 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions adafruit_dotstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
import digitalio

try:
import _pixelbuf
import adafruit_pixelbuf
except ImportError:
import adafruit_pypixelbuf as _pixelbuf
try:
import _pixelbuf as adafruit_pixelbuf
except ImportError:
import adafruit_pypixelbuf as adafruit_pixelbuf

__version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DotStar.git"
Expand All @@ -41,7 +44,7 @@
"""Blue Green Red"""


class DotStar(_pixelbuf.PixelBuf):
class DotStar(adafruit_pixelbuf.PixelBuf):
"""
A sequence of dotstars.

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

Adafruit-Blinka
adafruit-circuitpython-busdevice
adafruit-circuitpython-pypixelbuf>=2.0.0
adafruit-circuitpython-pixelbuf
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
install_requires=[
"Adafruit-Blinka",
"adafruit-circuitpython-busdevice",
"adafruit-circuitpython-pypixelbuf>=2.0.0",
"adafruit-circuitpython-pixelbuf",
],
# Choose your license
license="MIT",
Expand Down