Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 1:26745d857755, committed 2017-06-02
- Comitter:
- johnathanlyu
- Date:
- Fri Jun 02 08:02:08 2017 +0000
- Parent:
- 0:c95ce83462a0
- Child:
- 2:9a301d7b8f44
- Commit message:
- MtSense01 include BMP250 & SHT25
Changed in this revision
| MtSense01.cpp | Show annotated file Show diff for this revision Revisions of this file |
| MtSense01.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MtSense01.cpp Fri Jun 02 05:40:46 2017 +0000
+++ b/MtSense01.cpp Fri Jun 02 08:02:08 2017 +0000
@@ -1,6 +1,6 @@
#include "MtSense01.h"
-MtSense01::MtSense01(I2C& i2c): bmp180(i2c), sht21(i2c), bmp280(i2c) {
+MtSense01::MtSense01(I2C& i2c): sht21(i2c), bmp280(i2c) {
}
--- a/MtSense01.h Fri Jun 02 05:40:46 2017 +0000
+++ b/MtSense01.h Fri Jun 02 08:02:08 2017 +0000
@@ -2,7 +2,6 @@
#define MTSENSE01_H
#include "mbed.h"
-#include "BMP180.h"
#include "BMP280.h"
#include "SHT2X.h"
@@ -16,7 +15,6 @@
float getHumidity();
protected:
- BMP180 bmp180;
SHT2X sht21;
BMP280 bmp280;
private: