Skip to content

Update the import of adafruit_dps310 to latest #28

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

Closed
wants to merge 1 commit into from
Closed
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_funhouse/peripherals.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from analogio import AnalogIn
import touchio
import simpleio
import adafruit_dps310
import adafruit_dps310.advanced
import adafruit_ahtx0
import adafruit_dotstar

Expand Down Expand Up @@ -83,7 +83,7 @@ def __init__(self) -> None:
self._ctp.append(cap)

self.i2c = board.I2C()
self._dps310 = adafruit_dps310.DPS310(self.i2c)
self._dps310 = adafruit_dps310.advanced.DPS310(self.i2c)
self._aht20 = adafruit_ahtx0.AHTx0(self.i2c)

# LED
Expand Down