File tree 4 files changed +6
-13
lines changed
4 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ This driver depends on:
22
22
23
23
* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython >`_
24
24
* `Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice >`_
25
- * `Pypixelbuf <https://github.com/adafruit/Adafruit_CircuitPython_Pypixelbuf >`_
25
+ * `Pixelbuf <https://github.com/adafruit/Adafruit_CircuitPython_Pixelbuf >`_
26
26
27
27
Please ensure all dependencies are available on the CircuitPython filesystem.
28
28
This is easily achieved by downloading
Original file line number Diff line number Diff line change 26
26
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
27
27
"""
28
28
29
- # pylint: disable=ungrouped-imports
30
- import sys
29
+ import adafruit_pixelbuf
30
+
31
31
from adafruit_bus_device .spi_device import SPIDevice
32
32
33
- if sys .implementation .version [0 ] < 5 :
34
- import adafruit_pypixelbuf as _pixelbuf
35
- else :
36
- try :
37
- import _pixelbuf
38
- except ImportError :
39
- import adafruit_pypixelbuf as _pixelbuf
40
33
41
34
__version__ = "0.0.0-auto.0"
42
35
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel_SPI.git"
52
45
"""Green Red Blue White"""
53
46
54
47
55
- class NeoPixel_SPI (_pixelbuf .PixelBuf ):
48
+ class NeoPixel_SPI (adafruit_pixelbuf .PixelBuf ):
56
49
"""
57
50
A sequence of neopixels.
58
51
Original file line number Diff line number Diff line change 4
4
5
5
Adafruit-Blinka
6
6
adafruit-circuitpython-busdevice
7
- adafruit-circuitpython-pypixelbuf
7
+ adafruit-circuitpython-pixelbuf
Original file line number Diff line number Diff line change 36
36
install_requires = [
37
37
"Adafruit-Blinka" ,
38
38
"adafruit-circuitpython-busdevice" ,
39
- "adafruit-circuitpython-pypixelbuf " ,
39
+ "adafruit-circuitpython-pixelbuf " ,
40
40
],
41
41
# Choose your license
42
42
license = "MIT" ,
You can’t perform that action at this time.
0 commit comments