Comments (2)
I'm seeing the same effect.
from bme680.
The example from the documentation is missing a sleep to wait for the sensor data being ready. You can get the necessary sleep duration like this:
let profile_duration = dev.get_profile_dur(&settings.0).map_err(Bme680Error)?;
and then you do a sleep in-between setting the forced power mode and reading the sensor data:
std::thread::sleep(profile_duration);
from bme680.
Related Issues (13)
- Error when trying to run the example HOT 3
- Feature Request: Add setting to offset calibrate the temperature HOT 7
- Logged setting do not match those explicitly set in the example code HOT 5
- no_std compatible HOT 1
- Feature Request: SPI Support HOT 1
- The newest version always returns the same value for the gasresistance HOT 5
- Owning the delayer appears problematic HOT 7
- Avoid floating point precision when reading values from the sensor
- This crate is awesome but example needs to be improved HOT 1
- BME688 gives constant humidity and gas readings HOT 2
- Why does SettingsBuilder::with_humidity_control set a heater flag?
- Multiple gas heater profile support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bme680.