Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update adafruit_dps310/basic.py
Co-authored-by: James Carr <[email protected]>
  • Loading branch information
jposada202020 and lesamouraipourpre authored May 25, 2021
commit 75345e95d7e51882fecba499ef7779a6aefd8c91
2 changes: 1 addition & 1 deletion adafruit_dps310/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class DPS310:
.. code-block:: python

i2c = board.I2C() # uses board.SCL and board.SDA
dps310 = adafruit_dps310.DPS310(i2c)
dps310 = DPS310(i2c)

Now you have access to the :attr:`temperature` and :attr:`pressure` attributes.

Expand Down