Modified MAG3110 with individual X, Y, and Z sampling
Fork of MAG3110 by
Diff: MAG3110.h
- Revision:
- 5:b81ec73cd601
- Parent:
- 4:cf40601402b7
--- a/MAG3110.h Fri May 24 20:16:24 2013 +0000 +++ b/MAG3110.h Sun Feb 02 22:06:36 2014 +0000 @@ -123,6 +123,22 @@ * @param yVal Pointer to Y value * @param zVal Pointer to Z value */ + + int getXVal(); + /** + * Reads and returns X value using readVal + */ + + int getYVal(); + /** + * Reads and returns Y value using readVal + */ + + int getZVal(); + /** + * Reads and returns Z value using readVal + */ + void getValues(int *xVal, int *yVal, int *zVal); /** * Set the calibration parameters if required.