File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 9
9
`adafruit_dotstar` - DotStar strip driver (for CircuitPython 5.0+ with _pixelbuf)
10
10
=================================================================================
11
11
12
- * Author(s): Damien P. George, Limor Fried, Scott Shawcroft & Roy Hooper
12
+ * Author(s): Damien P. George, Limor Fried, Scott Shawcroft & Rose Hooper
13
13
"""
14
14
15
15
# pylint: disable=ungrouped-imports
16
- import sys
17
16
import busio
18
17
import digitalio
19
18
20
- if sys .implementation .version [0 ] < 5 :
19
+ try :
20
+ import _pixelbuf
21
+ except ImportError :
21
22
import adafruit_pypixelbuf as _pixelbuf
22
- else :
23
- try :
24
- import _pixelbuf
25
- except ImportError :
26
- import adafruit_pypixelbuf as _pixelbuf
27
23
28
24
__version__ = "0.0.0-auto.0"
29
25
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DotStar.git"
You can’t perform that action at this time.
0 commit comments