Skip to content

Commit cb54874

Browse files
authored
This should fix the adafruit_lsm6ds related issue
Not tested yet... WiP.
1 parent 6878e34 commit cb54874

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_pybadger/clue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
import digitalio
4848
import audiopwmio
4949
from gamepad import GamePad
50-
import adafruit_lsm6ds
50+
import adafruit_lsm6ds.lsm6ds33
5151
import neopixel
5252
from adafruit_pybadger.pybadger_base import PyBadgerBase
5353

@@ -69,7 +69,7 @@ def __init__(self):
6969
i2c = board.I2C()
7070

7171
if i2c is not None:
72-
self._accelerometer = adafruit_lsm6ds.LSM6DS33(i2c)
72+
self._accelerometer = adafruit_lsm6ds.lsm6ds33.LSM6DS33(i2c)
7373

7474
# NeoPixels
7575
self._neopixels = neopixel.NeoPixel(

0 commit comments

Comments
 (0)