Skip to content

Celsius/Farenheit behavior clarification #3

Closed
@anxolerd

Description

@anxolerd

I'd like to clarify about DHT library which is used in this codelab.

Following the temperature sensor guide I noticed that by default we read the temperature in Celsius and have to pass an additional boolean flag in order to retrieve temperature in Farenheit.

However while calculating heat index by default it is assumed that temperature is in Farenheit, and in order to calculate it for Celsius we need to pass an additional flag.

Do you have any idea about why the API is designed that way? (mb some hardware internals requre that, etc?)

Thanks in advance

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