Skip to content

Commit 0b90732

Browse files
authored
Fix for adafruit_lsm6ds now beeing a package
Not all learn guide take from the dedicated repository
1 parent ecd36c4 commit 0b90732

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ble_adafruit_feather_bluefruit_sense.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
import adafruit_apds9960.apds9960
1717
import adafruit_bmp280
18-
import adafruit_lsm6ds
18+
import adafruit_lsm6ds.lsm6ds33
1919
import adafruit_sht31d
2020

2121
from adafruit_ble_adafruit.adafruit_service import AdafruitServerAdvertisement
@@ -32,7 +32,7 @@
3232
import ulab
3333

3434
# Accelerometer
35-
lsm6ds33 = adafruit_lsm6ds.LSM6DS33(board.I2C())
35+
lsm6ds33 = adafruit_lsm6ds.lsm6ds33.LSM6DS33(board.I2C())
3636
# Used for pressure and temperature.
3737
bmp280 = adafruit_bmp280.Adafruit_BMP280_I2C(board.I2C())
3838
# Humidity.

0 commit comments

Comments
 (0)