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.
Fork of MPL3115A2 by
Revision 3:fb9726aaa41d, committed 2014-05-19
- Comitter:
- pHysiX
- Date:
- Mon May 19 13:18:52 2014 +0000
- Parent:
- 2:87d16ea09abd
- Commit message:
- Changed I2C to I2CRtosDriver
Changed in this revision
| MPL3115A2.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MPL3115A2.h Thu May 08 10:45:45 2014 +0000
+++ b/MPL3115A2.h Mon May 19 13:18:52 2014 +0000
@@ -1,4 +1,5 @@
#include "mbed.h"
+#include "I2CMasterRtos.h"
#ifndef _MPL3115A2_H_
#define _MPL3115A2_H_
@@ -32,7 +33,7 @@
char _SensorData[8]; //Char array that holds the current Altitude and Temperature data
- I2C _i2c;
+ I2CMasterRtos _i2c;
//DigitalIn _pin1;
//DigitalIn _pin2;
};
