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 2:e28e685938f1, committed 2020-05-30
- Comitter:
- marcel1691
- Date:
- Sat May 30 12:05:18 2020 +0000
- Parent:
- 1:02f543f15108
- Commit message:
- DevI2C obsolet durch I2C ersetzt
Changed in this revision
| BMP180Wrapper.cpp | Show annotated file Show diff for this revision Revisions of this file |
| BMP180Wrapper.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/BMP180Wrapper.cpp Tue May 26 17:33:13 2020 +0000
+++ b/BMP180Wrapper.cpp Sat May 30 12:05:18 2020 +0000
@@ -4,7 +4,7 @@
#include <BMP180Wrapper.h>
-BMP180Wrapper::BMP180Wrapper( DevI2C* i2c ) : bmp180(i2c)
+BMP180Wrapper::BMP180Wrapper( I2C* i2c ) : bmp180(i2c)
{
}
--- a/BMP180Wrapper.h Tue May 26 17:33:13 2020 +0000
+++ b/BMP180Wrapper.h Sat May 30 12:05:18 2020 +0000
@@ -6,14 +6,13 @@
#ifndef BPM180_BMP180WRAPPER_H_
#define BPM180_BMP180WRAPPER_H_
+#include "mbed.h"
#include <BMP180.h>
-#include "mbed.h"
-#include "DevI2C.h"
class BMP180Wrapper
{
public:
- BMP180Wrapper(DevI2C *i2c);
+ BMP180Wrapper(I2C *i2c);
virtual int init(void *init);
virtual int read_id(uint8_t *id);
virtual int get_humidity(float *pfData);