We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 708341d commit 92ac6f3Copy full SHA for 92ac6f3
1 file changed
CircuitPython_LED_Sand_Hourglass/single_matrix/code.py
@@ -4,7 +4,6 @@
4
5
import time
6
import board
7
-import adafruit_lsm6ds.lsm6ds33
8
from adafruit_ht16k33 import matrix
9
import matrixsand
10
@@ -16,11 +15,11 @@
16
15
17
# check for LSM6DS33 or LSM6DS3TR-C (Adafruit Feather Sense)
18
try:
19
- from adafruit_lsm6ds.lsm6ds33 import LSM6DS33 as LSM6DS
20
- lsm6ds = LSM6DS(i2c)
+ from adafruit_lsm6ds.lsm6ds33 import LSM6DS33 as LSM6DS # pylint: disable=unused-import
+ accelo = LSM6DS(i2c)
21
except RuntimeError:
22
- from adafruit_lsm6ds.lsm6ds3 import LSM6DS3 as LSM6DS
23
+ from adafruit_lsm6ds.lsm6ds3 import LSM6DS3 as LSM6DS # pylint: disable=unused-import
24
25
# the matrix
26
matrix = matrix.Matrix8x8(i2c, 0x70)
0 commit comments