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.
Dependents: WiFiDipCortexSensor
Fork of MPL3115A2 by
Revision 1:a011ae93a350, committed 2014-04-02
- Comitter:
- sophtware
- Date:
- Wed Apr 02 11:12:00 2014 +0000
- Parent:
- 0:beb43bc3d6d4
- Child:
- 2:2ebc9c0d4a54
- Commit message:
- Some spelling updates.
Changed in this revision
| MPL3115A2.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MPL3115A2.h Tue Apr 01 21:35:23 2014 +0000
+++ b/MPL3115A2.h Wed Apr 02 11:12:00 2014 +0000
@@ -19,7 +19,7 @@
Be sure to download the DATASHEET and the App Note AN4519.
- This libraray was created using the mbed NXP LPC11U24. Pins
+ This library was created using the mbed NXP LPC11U24. Pins
p27 and p28 were used for the I2C functions. Be sure to install
1K pull-up resistors on both lines. Also, if you're not using
the SparkFun breakout board, be sure to use the right caps on
@@ -29,7 +29,7 @@
the Arduino written by Nathan Seidle at SparkFun. I copied
some of the number crunching routines and tried to follow his
style of coding for the library. That way users of Arduinos
- cound step into this library a little easier.
+ could step into this library a little easier.
*/
@@ -131,10 +131,10 @@
void setModeActive(); // Activates the sensor to start taking measurements.
// When calling any of these methods, be sure to put the sensor in standby mode first.
- void setModeBarometer(); // Puts the sensor into barometric mode
- void setModeAltimeter(); // Puts the sensor into altimeter mode
- void setOversampleRate(char); // Sets the number of samples from 1 to 128.
- void enableEventFlags(); // Sets the all event flags.
+ void setModeBarometer(); // Puts the sensor into barometric mode
+ void setModeAltimeter(); // Puts the sensor into altimeter mode
+ void setOversampleRate(char rate); // Sets the number of samples from 1 to 128.
+ void enableEventFlags(); // Sets all the event flags.
private:
I2C *_i2c; // The I2C object we use to communicate with the sensor. It is not part
