Skip to content

Commit b2d912d

Browse files
authored
Update single_matrix.py
Blind change to fix change in adafruit_lsm6ds. Totally untested, just based on pattern matching.
1 parent 82bbecf commit b2d912d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CircuitPython_LED_Sand_Hourglass/single_matrix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import time
22
import board
3-
import adafruit_lsm6ds
3+
import adafruit_lsm6ds.lsm6ds33
44
from adafruit_ht16k33 import matrix
55
import matrixsand
66

77
DELAY = 0.00 # add some delay if you want
88

99
# the accelo
10-
accelo = adafruit_lsm6ds.LSM6DS33(board.I2C())
10+
accelo = adafruit_lsm6ds.lsm6ds33.LSM6DS33(board.I2C())
1111

1212
# the matrix
1313
matrix = matrix.Matrix8x8(board.I2C(), 0x70)

0 commit comments

Comments
 (0)