Giter Club home page Giter Club logo

ds18b20's People

Contributors

drbomb avatar rojer avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

nerdyhacker

ds18b20's Issues

Getting 0 degree with mgos_ds18b20_get()

Using the methods of the library I can´t get the values of the readings, however I can see the readings with debug level in 3.

if (mgos_ds18b20_init()){ temp_int=mgos_ds18b20_get(); }

` [Dec 14 10:22:49.679] mgos_ds18b20.c:61 OneWire: DS18B20 Found ADDRESS: 28aaebb24d14119
[Dec 14 10:22:49.679] mgos_ds18b20.c:61 OneWire: DS18B20 Found ADDRESS: 28aaebb24d14119
[Dec 14 10:22:49.679] mgos_ds18b20.c:61 OneWire: DS18B20 Found ADDRESS: 28aaebb24d14119
....
.....
[Dec 14 10:22:50.489] mgos_ds18b20.c:49 OneWire: DS18B20 Reading 23.812500
[Dec 14 10:22:50.520] mgos_ds18b20.c:49 OneWire: DS18B20 Reading 23.812500
[Dec 14 10:22:50.552] mgos_ds18b20.c:49 OneWire: DS18B20 Reading 23.812500
[Dec 14 10:22:50.583] mgos_ds18b20.c:49 OneWire: DS18B20 Reading 23.812500
[Dec 14 10:22:50.615] mgos_ds18b20.c:49 OneWire: DS18B20 Reading 23.812500

....
[Dec 14 10:22:49.569] main.c:53 Int Temp: 0.000000
`

ds18b20 stop working on mos version 202102201946

ds18b20 library stopped working on mos version 202102201946. No errors, just getting DS18B20.get() = 0 all the time.

Something weird is when setting debug_level = 3, the issue is fixed: mos config-set debug.level=3

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.