Simple library for MAG3110 magenetometer as built into FRDM-KL46Z module;
Fork of MAG3110 by
Revision 6:aa4c8b0317c6, committed 2015-03-29
- Comitter:
- scohennm
- Date:
- Sun Mar 29 18:31:05 2015 +0000
- Parent:
- 5:888035fbef65
- Commit message:
- Saving original
Changed in this revision
MAG3110.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 888035fbef65 -r aa4c8b0317c6 MAG3110.cpp --- a/MAG3110.cpp Fri Feb 07 00:33:01 2014 +0000 +++ b/MAG3110.cpp Sun Mar 29 18:31:05 2015 +0000 @@ -44,7 +44,7 @@ cmd[0] = 0x00; _i2c.read(_i2c_address, cmd, 1); - return (int)( cmd[0]); + return int ( cmd[0]); }