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 03a35bb + 4997788 commit 63b8f58Copy full SHA for 63b8f58
examples/neokey1x4_simpletest.py
@@ -1,6 +1,6 @@
1
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
2
# SPDX-License-Identifier: MIT
3
-
+"""NeoKey simpletest."""
4
import board
5
from adafruit_neokey.neokey1x4 import NeoKey1x4
6
examples/neokey_1x4_multikey.py
@@ -2,13 +2,9 @@
"""Example for connecting two NeoKey 1x4 breakouts. Requires bridging the A0 jumper on one board."""
+from rainbowio import colorwheel
7
-try:
8
- from _pixelbuf import colorwheel
9
-except ImportError:
10
- from adafruit_pypixelbuf import colorwheel
11
12
# Create a NeoKey object
13
neokey1 = NeoKey1x4(board.I2C())
14
neokey2 = NeoKey1x4(board.I2C(), addr=0x31)
0 commit comments