Quick test of the Wi-Go Magnetometer
Dependencies: TSI mbed MAG3110
Revision 6:dafb20e438bf, committed 2013-05-27
- Comitter:
- SomeRandomBloke
- Date:
- Mon May 27 18:58:26 2013 +0000
- Parent:
- 5:820cae3548c2
- Commit message:
- minor update
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 820cae3548c2 -r dafb20e438bf main.cpp --- a/main.cpp Fri May 24 20:16:52 2013 +0000 +++ b/main.cpp Mon May 27 18:58:26 2013 +0000 @@ -29,7 +29,6 @@ #include "MAG3110.h" -//#define PI 3.14159265359 #define ON 0 #define OFF 1 @@ -41,7 +40,7 @@ // Slide sensor acts as a button TSISensor tsi; -//MAG3100 mag(&i2c, &pc); //DEBUG verion +//MAG3100 mag(PTE0, PTE1, &pc); //DEBUG verion MAG3110 mag(PTE0, PTE1);