Skip to content

No negative sign when temperature is below 0°C #12

@o-Dan-o

Description

@o-Dan-o

Hi,

On the DHT11, I found that I always get a positive value for temperature even if it's below 0°C.

Here's a screenshot of the output from the example file DHT_nonblocking.ino (last 6 lines) compared to output from the example file DHT_Unified_Sensor.ino by Adafruit (first 3 lines). Sensor is in the same location, same temperature.

Temperature is actually -6.3°C, but DHT_nonblocking reports it as +6.0°C.

Hope this is helpful!

-Dan

ScreenShot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions