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.
2 parents b2e2c38 + a19f6fd commit 7d20614Copy full SHA for 7d20614
adafruit_neokey/neokey1x4.py
@@ -30,7 +30,7 @@
30
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_NeoKey.git"
31
32
from micropython import const
33
-from adafruit_seesaw.neopixel import NeoPixel
+from adafruit_seesaw import neopixel
34
from adafruit_seesaw.seesaw import Seesaw
35
36
try:
@@ -56,8 +56,12 @@ def __init__(
56
) -> None:
57
super().__init__(i2c_bus, addr)
58
self.interrupt_enabled = interrupt
59
- self.pixels = NeoPixel(
60
- self, _NEOKEY1X4_NEOPIX_PIN, _NEOKEY1X4_NUM_KEYS, brightness=0.2
+ self.pixels = neopixel.NeoPixel(
+ self,
61
+ _NEOKEY1X4_NEOPIX_PIN,
62
+ _NEOKEY1X4_NUM_KEYS,
63
+ brightness=0.2,
64
+ pixel_order=neopixel.GRB,
65
)
66
# set the pins to inputs, pullups
67
for b in range(4, 8):
0 commit comments