Giter Site home page Giter Site logo

Comments (4)

matchacos avatar matchacos commented on May 28, 2024 1

Nickel! I tried it with the new files I found and it worked well.
The negative temperatures are now collected without any hiatus. No problem appeared to me.
Thanks a lot

from dhtnew.

matchacos avatar matchacos commented on May 28, 2024

The way the AM2301 codes negative temperatures seems to be the same than the AM2302 does.
Here is the datasheet for this item:
http://www.aosong.com/userfiles/files/media/AM2301%E8%A7%84%E6%A0%BC%E4%B9%A6-%E8%8B%B1%E6%96%87%E7%89%88%EF%BC%8820210407%EF%BC%89.pdf

from dhtnew.

RobTillaart avatar RobTillaart commented on May 28, 2024

@matchacos
I looked at the temperature code of 0.4.5 and it is definitely wrong for negative temperatures.
In fact it maps all negatives on zero, just like you noticed.

A new develop branch (0.4.6) will be created a.s.a.p.


develop branch is available, please verify if it works.

from dhtnew.

RobTillaart avatar RobTillaart commented on May 28, 2024

from dhtnew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.