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 MAG3110 by
Revision 2:fb8024297377, committed 2013-05-24
- Comitter:
- SomeRandomBloke
- Date:
- Fri May 24 20:08:12 2013 +0000
- Parent:
- 1:5a0e7a58d980
- Child:
- 3:bc784c24f3b2
- Commit message:
- update
Changed in this revision
| MAG3110.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MAG3110.h Fri May 24 20:04:48 2013 +0000
+++ b/MAG3110.h Fri May 24 20:08:12 2013 +0000
@@ -75,14 +75,6 @@
class MAG3110
{
-private:
- int _i2c_address;
- I2C _i2c;
- Serial *_pc;
- bool _debug;
- int _avgX, _avgY;
-
-
public:
/**
* MAG3110 constructor
@@ -136,5 +128,13 @@
* @param maxY maximum value for Y range
*/
void setCalibration(int minX, int maxX, int minY, int maxY);
+
+private:
+ int _i2c_address;
+ I2C _i2c;
+ Serial *_pc;
+ bool _debug;
+ int _avgX, _avgY;
+
};
#endif
