Coder Social home page Coder Social logo

getStatus function about bme280 HOT 5 OPEN

finitespace avatar finitespace commented on June 13, 2024
getStatus function

from bme280.

Comments (5)

finitespace avatar finitespace commented on June 13, 2024

I don't understand what this means. You want a function to return the digs?

from bme280.

coelner avatar coelner commented on June 13, 2024

there is a status register at 0xF3 where bit 3 switch to '1' when a measurement is active. bit 0 shows only the copy of NVM data. (I'm not sure what conversion in this context means)
bit 3 is more important to know about, because we could check if a measurement is running and wait until the bit flips to '0' and read then the measured values.

from bme280.

finitespace avatar finitespace commented on June 13, 2024

This seems like it should be a private function that we check before returning a measurement. I wonder if we are returning the data before the filter buffer can be populated in #59.

from bme280.

finitespace avatar finitespace commented on June 13, 2024

I have added this function in the status branch. I need to do some testing on it to make sure it makes a measurement correctly while checking the status bits (see ReadData() for changes to flow). This might also cause the changes to #59/#62 to be unnecessary.

from bme280.

finitespace avatar finitespace commented on June 13, 2024

We need to update the branch and create a PR.

from bme280.

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.