Skip to content

Forced Mode feature addition for #2 - #3

Merged
Gadgetoid merged 4 commits into
masterfrom
feature-forced-mode
Nov 8, 2019
Merged

Gadgetoid merged 4 commits into
masterfrom
feature-forced-mode

Conversation

@Gadgetoid

Copy link
Copy Markdown
Member

This adds the ability to run the bmp280 in "forced" mode, which requests a single conversion from the sensor after which it returns to sleep mode.

If you're using a large delay between temperature readings in your code, this should help to eliminate any temperature offset caused by the internal temperature of the sensor itself.

The setup method now also accepts temperature and pressure oversampling and temperature standby (the time between measurements in normal mode) settings.

@coveralls

coveralls commented Apr 29, 2019 •

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 25

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+3.6%) to 97.938%

Files with Coverage Reduction New Missed Lines %
bmp280/init.py 2 97.94%
Totals Coverage Status
Change from base Build 22: 3.6%
Covered Lines: 95
Relevant Lines: 97

💛 - Coveralls

@Gadgetoid
Gadgetoid merged commit c700ad1 into master Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants