Skip to content

Commit bb6dc51

Browse files
committed
update other code
1 parent b8af4a3 commit bb6dc51

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CircuitPython_LED_Sand_Hourglass/double_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
matrix1 = matrix.Matrix8x8(board.I2C(), 0x70)

CircuitPython_LED_Sand_Hourglass/hourglass.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.05 # overall update rate
88

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

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

0 commit comments

Comments
 (0)