Impact-Echo
/
Magnetometer_FXOS8700Q
working magnetometer and accelerometer
Fork of Hello_FXOS8700Q by
Revision 1:7fab51ab8364, committed 2014-04-19
- Comitter:
- JimCarver
- Date:
- Sat Apr 19 17:48:32 2014 +0000
- Parent:
- 0:748fe54f0947
- Child:
- 2:5f34f99b07c5
- Commit message:
- Added defines for use with K64F Freedom board
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Apr 19 17:44:07 2014 +0000 +++ b/main.cpp Sat Apr 19 17:48:32 2014 +0000 @@ -1,7 +1,8 @@ #include "mbed.h" #include "FXOS8700Q.h" -FXOS8700Q combo( A4, A5, FXOS8700CQ_SLAVE_ADDR0); +FXOS8700Q combo( A4, A5, FXOS8700CQ_SLAVE_ADDR0); // Proper Ports and I2C address for FReescale Multi Axis shield +//FXOS8700Q combo( PTE25, PTE24, FXOS8700CQ_SLAVE_ADDR1); // Proper Ports and I2C Address for K64F Freedom board Serial pc(USBTX, USBRX);