Replaced original getTemperature Routine as it was returned strange values
Dependents: LPC1768-GPS-FUSION-17102018-1
Fork of BME280 by
Diff: BME280.h
- Revision:
- 5:691e06db489f
- Parent:
- 4:ddcaa259e65b
diff -r ddcaa259e65b -r 691e06db489f BME280.h --- a/BME280.h Tue May 12 13:32:09 2015 +0000 +++ b/BME280.h Tue Nov 29 18:54:29 2016 +0000 @@ -1,6 +1,5 @@ /** * BME280 Combined humidity and pressure sensor library - * * @author Toyomasa Watarai * @version 1.0 * @date 06-April-2015 @@ -10,6 +9,8 @@ * * For more information about the BME280: * http://ae-bst.resource.bosch.com/media/products/dokumente/bme280/BST-BME280_DS001-10.pdf + * + * */ #ifndef MBED_BME280_H @@ -18,7 +19,7 @@ #include "mbed.h" //#define _DEBUG -#define DEFAULT_SLAVE_ADDRESS (0x76 << 1) +#define DEFAULT_SLAVE_ADDRESS (0x77 << 1) #ifdef _DEBUG extern Serial pc; @@ -72,7 +73,7 @@ * */ float getTemperature(void); - + /** Read the current pressure value (hectopascal)from BME280 sensor * */