Skip to content

Commit ff67791

Browse files
committed
Update after nativeio split.
1 parent ba91408 commit ff67791

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neopixel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# NeoPixel driver for MicroPython on ESP8266
22
# MIT license; Copyright (c) 2016 Damien P. George
33

4-
import nativeio
4+
import digitalio
55
from neopixel_write import neopixel_write
66

77
class NeoPixel:
88
ORDER = (1, 0, 2, 3)
99
def __init__(self, pin, n, bpp=3):
10-
self.pin = nativeio.DigitalInOut(pin)
10+
self.pin = digitalio.DigitalInOut(pin)
1111
self.n = n
1212
self.bpp = bpp
1313
self.buf = bytearray(n * bpp)

0 commit comments

Comments
 (0)