Commit Graph

43 Commits

Author SHA1 Message Date
danbaker-projects 6d76cd285e
Update Adafruit_BME280.cpp
This fixes a (very minor) bug in the return value of getTemperatureCompensation().
getTemperatureCompensation() was dropping (rounding to integer) the fractional part of the temperature offset due to an integer divide by 100 before casting to a float.

For example: if the temperature compensation was 1.49 degC, the value returned was 1.00

This didn't affect the accuracy of the readings (setTemperatureCompensation worked fine),
it only gave an incorrect value if you read the value back using getTemperatureCompensation
2020-10-13 13:47:44 -04:00
Jason Mansfield 25f8d5e555 Fix @params -> @param 2020-08-03 23:21:57 -07:00
Jason Mansfield 4e70835d58 format files with `clang-format -i` 2020-08-02 20:20:01 -07:00
Jason Mansfield 938e099006 temperature adjustment: rename getter/setter adjustment -> compensation 2020-08-02 17:40:12 -07:00
Jason Mansfield 643b75ffa3 complete t_fine_adjust getter 2020-08-01 23:34:21 -07:00
Jason Mansfield 626dc5b0bd Provide temperature compensation #84 2020-08-01 23:14:32 -07:00
Lady Ada 0213f84f9f another clanground 2019-12-29 03:29:12 -05:00
Lady Ada ebf5715aba example for unified sensors 2019-12-29 03:24:43 -05:00
Lady Ada 610d7292df clang some more, add a humidity object 2019-12-29 03:01:52 -05:00
Lady Ada 9c75a42a5c clang & add temp/pressure Adafruit_Sensor components 2019-12-29 02:54:44 -05:00
Limor "Ladyada" Fried 7fa7054122
Merge pull request #56 from dirkmueller/master
Sign-extend Humidity Calibration H4/H5 data (Fixes #44)
2019-12-29 02:34:42 -05:00
Lady Ada 2a23df09f3 remove extra begin options. just one now.
also looked at https://github.com/adafruit/Adafruit_BME280_Library/issues/64 and reduced some delays
2019-12-29 02:31:52 -05:00
Lady Ada 16c3e721c7 fix for https://github.com/adafruit/Adafruit_BME280_Library/issues/69 revert 156a0537d6 2019-12-29 02:20:37 -05:00
Hyeonki Hong 156a0537d6 Correct 'begin()' to check basic I2C address
suggestion: Carter Nelson <caternuson@gmail.com>
2019-11-12 07:37:00 +09:00
Dirk Mueller 2149447f01 Sign-extend Humidity Calibration H4/H5 data (Fixes #44) 2019-09-15 22:40:14 +02:00
Johannes Rußek b13b3c9a6e Put BME280 to sleep before changing configuration
As mentioned in https://github.com/adafruit/Adafruit_BME280_Library/issues/30
2019-08-25 09:52:11 -04:00
Jan Hoffmann 7e39c445f0 added spi fixes 2019-06-20 18:26:48 +02:00
Jan Hoffmann 1f2d47a6fe
Merge pull request #49 from sellensr/master
begin() fail gracefully
2019-04-28 13:41:20 +02:00
Sami Kankaristo 745859172b Add LICENSE and mention it in all source files 2019-04-27 17:22:44 +03:00
Rick Sellens 874147604f begin() fail gracefully
try 0x76 address as well.
record _sensorID
2019-04-26 12:28:33 -04:00
Jan Hoffmann 9f8ab75056
Update Adafruit_BME280.cpp
typo in adafruit page device url
2019-02-06 17:19:40 +01:00
Mike 292ab5f933
Update Adafruit_BME280.cpp
just small correction in the doc
2018-11-28 16:43:04 +01:00
dean e0c8ee1694 DM: update docs 2018-08-09 11:42:21 -04:00
dean 225bed4415 DM: added startup delay 2017-12-27 18:39:20 -05:00
mjs513 63357a0d5e Fixed default setting bme.begin() 2017-09-12 07:35:36 -04:00
mjs513 ba0bcdb599 Made the Wire Bus selectable in setup 2017-09-12 06:29:13 -04:00
Frank Leon Rose b72b7d6285 Restore comment 2017-02-09 10:34:19 -05:00
Frank Leon Rose 50fb31ace1 On begin, read coefficients after calibration 2017-02-09 10:21:13 -05:00
pm73 4f66f97fe6 change loop to delay so ESP8266 can do Wi-Fi tasks
delay(1) allows ESP8266 to do Wi-Fi tasks. It is recommended to not make any code that blocks this for more than 20/50 microseconds.
2017-02-08 12:32:22 +01:00
ladyada 553c635a81 fixed and split example 2017-02-06 18:52:37 -05:00
mozzbozz 9e676f1d64 Implemented sensor modes and settings among other improvements 2016-08-18 23:24:14 +02:00
mozzbozz c96d20544a Added sea level pressure calculation helper function 2016-08-16 16:22:17 +02:00
ladyada b848cb2a74 https://github.com/adafruit/Adafruit_BME280_Library/issues/2 2016-01-21 20:17:16 -05:00
ladyada 3c2e13b15a bump oversampling up! 2016-01-21 20:16:29 -05:00
ladyada b6369f7a6b burst read temp & pressure 2016-01-21 20:04:35 -05:00
ladyada b3f8576b48 must get temp before humidity or pressure in order to set t_fine 2016-01-21 18:31:21 -05:00
Tony DiCola 91f50d5155 Fix #4 by making calibration data a class member instead of static value. 2015-10-05 15:13:15 -07:00
ladyada 785b6ec52c *sigh* more merge fixing 2015-09-14 01:14:33 -04:00
ladyada dbd60ee741 Merge branch 'master' of github.com:adafruit/Adafruit_BME280_Library
Conflicts:
	Adafruit_BME280.h
	examples/bme280test/bme280test.ino
2015-09-14 01:11:55 -04:00
ladyada 1b188eed2f alt 2015-09-14 01:10:52 -04:00
Kevin Townsend 11ad05a034 Added .readAltitude function 2015-09-01 07:23:33 +02:00
Kevin Townsend 0e61e7b726 Set CONTROLHUMID before CONTROL 2015-08-31 23:48:25 +02:00
ladyada 60bb88f257 init 2015-07-24 16:44:43 -04:00