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 fd912e6 commit 494db77Copy full SHA for 494db77
neopixel.py
@@ -19,9 +19,12 @@
19
from neopixel_write import neopixel_write
20
21
try:
22
- import _pixelbuf
+ import adafruit_pixelbuf
23
except ImportError:
24
- import adafruit_pypixelbuf as _pixelbuf
+ try:
25
+ import _pixelbuf as adafruit_pixelbuf
26
+ except ImportError:
27
+ import adafruit_pypixelbuf as adafruit_pixelbuf
28
29
30
__version__ = "0.0.0-auto.0"
@@ -39,7 +42,7 @@
39
42
"""Green Red Blue White"""
40
43
41
44
-class NeoPixel(_pixelbuf.PixelBuf):
45
+class NeoPixel(adafruit_pixelbuf.PixelBuf):
46
"""
47
A sequence of neopixels.
48
0 commit comments