Skip to content

Commit 585c5de

Browse files
authored
Update feather_sense_sensor_demo.py
Blind and totally untested change based on pattern matching to adapt to the new release of adafruit_lsm6ds.
1 parent 82bbecf commit 585c5de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_Feather_Sense/feather_sense_sensor_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
import adafruit_apds9960.apds9960
88
import adafruit_bmp280
99
import adafruit_lis3mdl
10-
import adafruit_lsm6ds
10+
import adafruit_lsm6ds.lsm6ds33
1111
import adafruit_sht31d
1212

1313
i2c = board.I2C()
1414

1515
apds9960 = adafruit_apds9960.apds9960.APDS9960(i2c)
1616
bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(i2c)
1717
lis3mdl = adafruit_lis3mdl.LIS3MDL(i2c)
18-
lsm6ds33 = adafruit_lsm6ds.LSM6DS33(i2c)
18+
lsm6ds33 = adafruit_lsm6ds.lsm6ds33.LSM6DS33(i2c)
1919
sht31d = adafruit_sht31d.SHT31D(i2c)
2020
microphone = audiobusio.PDMIn(board.MICROPHONE_CLOCK, board.MICROPHONE_DATA,
2121
sample_rate=16000, bit_depth=16)

0 commit comments

Comments
 (0)