adafruit / Adafruit_BME280_Library

Arduino Library for BME280 sensors
Other
333 stars 304 forks source link

Allows force measurement without wait #33

Closed SRGDamia1 closed 3 years ago

SRGDamia1 commented 6 years ago

Simply adds a flag to the takeForcedMeasurement function to allow user to skip the wait for the measurement to complete. The default argument is to wait (current behavior).

Also moved code into src directory and added library.json file for platformio.

caternuson commented 3 years ago

That behavior is needed to insure the returned value is the latest measurement and not the previous measurement.