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 Hello_FXOS8700Q by
Revision 7:b500ce244853, committed 2015-02-13
- Comitter:
- inmcm
- Date:
- Fri Feb 13 20:46:52 2015 +0000
- Parent:
- 6:02bfeec82bc1
- Commit message:
- Modified Accelerometer/Magnetometer example program for K64F Freedom board to work with K22F board
Changed in this revision
diff -r 02bfeec82bc1 -r b500ce244853 FXOS8700Q.lib --- a/FXOS8700Q.lib Fri Apr 25 16:47:00 2014 +0000 +++ b/FXOS8700Q.lib Fri Feb 13 20:46:52 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/JimCarver/code/FXOS8700Q/#c53dda05b8cf +http://mbed.org/users/JimCarver/code/FXOS8700Q/#5553a64d0762
diff -r 02bfeec82bc1 -r b500ce244853 main.cpp --- a/main.cpp Fri Apr 25 16:47:00 2014 +0000 +++ b/main.cpp Fri Feb 13 20:46:52 2015 +0000 @@ -1,11 +1,8 @@ #include "mbed.h" #include "FXOS8700Q.h" - -//FXOS8700Q acc( A4, A5, FXOS8700CQ_SLAVE_ADDR0); // Proper Ports and I2C address for Freescale Multi Axis shield -//FXOS8700Q mag( A4, A5, FXOS8700CQ_SLAVE_ADDR0); // Proper Ports and I2C address for Freescale Multi Axis shield -FXOS8700Q_acc acc( PTE25, PTE24, FXOS8700CQ_SLAVE_ADDR1); // Proper Ports and I2C Address for K64F Freedom board -FXOS8700Q_mag mag( PTE25, PTE24, FXOS8700CQ_SLAVE_ADDR1); // Proper Ports and I2C Address for K64F Freedom board +FXOS8700Q_acc acc( PTB3, PTB2, FXOS8700CQ_SLAVE_ADDR2); // Proper Ports and I2C Address for K22F Freedom board +FXOS8700Q_mag mag( PTB3, PTB2, FXOS8700CQ_SLAVE_ADDR2); // Proper Ports and I2C Address for K22F Freedom board Serial pc(USBTX, USBRX);
diff -r 02bfeec82bc1 -r b500ce244853 mbed.bld --- a/mbed.bld Fri Apr 25 16:47:00 2014 +0000 +++ b/mbed.bld Fri Feb 13 20:46:52 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/6473597d706e \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/e188a91d3eaa \ No newline at end of file
