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/advanced.py
Co-authored-by: James Carr <[email protected]>
  • Loading branch information
jposada202020 and lesamouraipourpre authored May 25, 2021
commit 8f2013a67b1f223d7e9b1d73c1f28d31880a8055
16 changes: 8 additions & 8 deletions adafruit_dps310/advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,17 +146,17 @@ class SampleCount(CV):
# pylint: enable=unnecessary-pass

_DPS310_DEFAULT_ADDRESS = const(0x77) # DPS310 default i2c address
_DPS310_DEVICE_ID = const(0x10) # DPS310 device identifier
#_DPS310_DEVICE_ID = const(0x10) # DPS310 device identifier

_DPS310_PRSB2 = const(0x00) # Highest byte of pressure data
_DPS310_TMPB2 = const(0x03) # Highest byte of temperature data
#_DPS310_PRSB2 = const(0x00) # Highest byte of pressure data
#_DPS310_TMPB2 = const(0x03) # Highest byte of temperature data
_DPS310_PRSCFG = const(0x06) # Pressure configuration
_DPS310_TMPCFG = const(0x07) # Temperature configuration
_DPS310_MEASCFG = const(0x08) # Sensor configuration
_DPS310_CFGREG = const(0x09) # Interrupt/FIFO configuration
_DPS310_RESET = const(0x0C) # Soft reset
_DPS310_PRODREVID = const(0x0D) # Register that contains the part ID
_DPS310_TMPCOEFSRCE = const(0x28) # Temperature calibration src
#_DPS310_MEASCFG = const(0x08) # Sensor configuration
#_DPS310_CFGREG = const(0x09) # Interrupt/FIFO configuration
#_DPS310_RESET = const(0x0C) # Soft reset
#_DPS310_PRODREVID = const(0x0D) # Register that contains the part ID
#_DPS310_TMPCOEFSRCE = const(0x28) # Temperature calibration src


class DPS310_Advanced(DPS310):
Expand Down