Skip to content

This should fix the adafruit_lsm6ds related issue #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions adafruit_pybadger/clue.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
import digitalio
import audiopwmio
from gamepad import GamePad
import adafruit_lsm6ds
import adafruit_lsm6ds.lsm6ds33
import neopixel
from adafruit_pybadger.pybadger_base import PyBadgerBase

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

if i2c is not None:
self._accelerometer = adafruit_lsm6ds.LSM6DS33(i2c)
self._accelerometer = adafruit_lsm6ds.lsm6ds33.LSM6DS33(i2c)

# NeoPixels
self._neopixels = neopixel.NeoPixel(
Expand Down
2 changes: 1 addition & 1 deletion examples/pybadger_pyportal_touchscreen.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Simpletest example using Adafruit PyPortal. Uses the touchscreen to advance between examples."""
import board
from adafruit_pybadger import pybadger
import adafruit_touchscreen
from adafruit_pybadger import pybadger

# pylint: disable=invalid-name

Expand Down