Skip to content

Real Temperature and pressure values are getting only on Low precision configuration why.. #3

@Vivekpkd

Description

@Vivekpkd

When i tried the code with the same temp,press configuration.
iam getting good temperature value but pressure value is not correct .

  dps310_configure_temperature(
           DPS310_CFG_RATE_1_MEAS |
           DPS310_TMP_CFG_TMP_PRC_SINGLE);

   dps310_configure_pressure(
           DPS310_CFG_RATE_1_MEAS |
           DPS310_PRS_CFG_PM_PRC_2_TIMES);

i changed the pressure config to

dps310_configure_pressure(
          DPS310_CFG_RATE_1_MEAS |
          DPS310_PRS_CFG_PM_PRC_SINGLE);

now getting good pressure value ...
But its all low precision .Why High precision config not working...???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions