File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
CircuitPython_LED_Sand_Hourglass Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
import time
2
2
import board
3
- import adafruit_lsm6ds
3
+ import adafruit_lsm6ds . lsm6ds33
4
4
from adafruit_ht16k33 import matrix
5
5
import matrixsand
6
6
7
7
DELAY = 0.00 # add some delay if you want
8
8
9
9
# the accelo
10
- accelo = adafruit_lsm6ds .LSM6DS33 (board .I2C ())
10
+ accelo = adafruit_lsm6ds .lsm6ds33 . LSM6DS33 (board .I2C ())
11
11
12
12
# the matrix
13
13
matrix1 = matrix .Matrix8x8 (board .I2C (), 0x70 )
Original file line number Diff line number Diff line change 1
1
import time
2
2
import board
3
- import adafruit_lsm6ds
3
+ import adafruit_lsm6ds . lsm6ds33
4
4
from adafruit_ht16k33 import matrix
5
5
import matrixsand
6
6
7
7
DELAY = 0.05 # overall update rate
8
8
9
9
# the accelo
10
- accelo = adafruit_lsm6ds .LSM6DS33 (board .I2C ())
10
+ accelo = adafruit_lsm6ds .lsm6ds33 . LSM6DS33 (board .I2C ())
11
11
12
12
# the matrices
13
13
m1 = matrix .Matrix8x8 (board .I2C (), 0x70 )
Original file line number Diff line number Diff line change 1
1
import time
2
2
import board
3
- import adafruit_lsm6ds
3
+ import adafruit_lsm6ds . lsm6ds33
4
4
from adafruit_ht16k33 import matrix
5
5
import matrixsand
6
6
7
7
DELAY = 0.00 # add some delay if you want
8
8
9
9
# the accelo
10
- accelo = adafruit_lsm6ds .LSM6DS33 (board .I2C ())
10
+ accelo = adafruit_lsm6ds .lsm6ds33 . LSM6DS33 (board .I2C ())
11
11
12
12
# the matrix
13
13
matrix = matrix .Matrix8x8 (board .I2C (), 0x70 )
You can’t perform that action at this time.
0 commit comments