We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d471f9e commit 33bc5e9Copy full SHA for 33bc5e9
adafruit_dotstar.py
@@ -17,9 +17,12 @@
17
import digitalio
18
19
try:
20
- import _pixelbuf
+ import adafruit_pixelbuf
21
except ImportError:
22
- import adafruit_pypixelbuf as _pixelbuf
+ try:
23
+ import _pixelbuf as adafruit_pixelbuf
24
+ except ImportError:
25
+ import adafruit_pypixelbuf as adafruit_pixelbuf
26
27
__version__ = "0.0.0-auto.0"
28
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DotStar.git"
@@ -41,7 +44,7 @@
41
44
"""Blue Green Red"""
42
45
43
46
-class DotStar(_pixelbuf.PixelBuf):
47
+class DotStar(adafruit_pixelbuf.PixelBuf):
48
"""
49
A sequence of dotstars.
50
0 commit comments