Zanduino / BME680

Arduino Library to access the Bosch BME680 - temperature, pressure, humidity and gas sensor
GNU General Public License v3.0
37 stars 10 forks source link

Add functionality to bypass wait times #1

Closed SV-Zanshin closed 6 years ago

SV-Zanshin commented 6 years ago

At the Moment the [getSensorData](https://github.com/SV-Zanshin/BME680/wiki/getSensorData()) method waits for any active conversions to complete, reads the sensor data and then initiates another reading in forced mode. Adding an optional "Wait/NoWait" boolean to the function call could get the code to skip the wait code. In that case a user-callable method such as "getConversionState" that Returns true or false should be added, so that the caller can choose whether to wait or not.

SV-Zanshin commented 6 years ago

Fixed issue and updated Wiki pages