update other code

This commit is contained in:
caternuson 2020-08-22 09:38:42 -07:00
parent b8af4a3047
commit bb6dc519b7
2 changed files with 4 additions and 4 deletions

View file

@ -1,13 +1,13 @@
import time
import board
import adafruit_lsm6ds
import adafruit_lsm6ds.lsm6ds33
from adafruit_ht16k33 import matrix
import matrixsand
DELAY = 0.00 # add some delay if you want
# the accelo
accelo = adafruit_lsm6ds.LSM6DS33(board.I2C())
accelo = adafruit_lsm6ds.lsm6ds33.LSM6DS33(board.I2C())
# the matrix
matrix1 = matrix.Matrix8x8(board.I2C(), 0x70)

View file

@ -1,13 +1,13 @@
import time
import board
import adafruit_lsm6ds
import adafruit_lsm6ds.lsm6ds33
from adafruit_ht16k33 import matrix
import matrixsand
DELAY = 0.05 # overall update rate
# the accelo
accelo = adafruit_lsm6ds.LSM6DS33(board.I2C())
accelo = adafruit_lsm6ds.lsm6ds33.LSM6DS33(board.I2C())
# the matrices
m1 = matrix.Matrix8x8(board.I2C(), 0x70)