Phil COVAL
/
Hello_FXOS8700Q
Support KW41Z
Revision 8:8f672593a068, committed 2020-09-10
- Comitter:
- rzrfreefr
- Date:
- Thu Sep 10 22:20:24 2020 +0000
- Parent:
- 7:518e61df67d7
- Commit message:
- Support KW41Z Pinout
Changed in this revision
--- a/FXOS8700Q.lib Thu Jun 18 22:54:17 2015 +0000 +++ b/FXOS8700Q.lib Thu Sep 10 22:20:24 2020 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/Freescale/code/FXOS8700Q/#834488c11340 +http://developer.mbed.org/teams/Freescale/code/FXOS8700Q/#aee7dea904e2
--- a/main.cpp Thu Jun 18 22:54:17 2015 +0000 +++ b/main.cpp Thu Sep 10 22:20:24 2020 +0000 @@ -18,7 +18,13 @@ #include "FXOS8700Q.h" Serial pc(USBTX, USBRX); + +#ifdef TARGET_KW41Z +I2C i2c(PTC3, PTC2); +#else I2C i2c(PTE25, PTE24); +#endif + //FXOS8700Q fxos(i2c, FXOS8700CQ_SLAVE_ADDR1); FXOS8700QAccelerometer acc(i2c, FXOS8700CQ_SLAVE_ADDR1); // Configured for the FRDM-K64F with onboard sensors FXOS8700QMagnetometer mag(i2c, FXOS8700CQ_SLAVE_ADDR1);
--- a/mbed.bld Thu Jun 18 22:54:17 2015 +0000 +++ b/mbed.bld Thu Sep 10 22:20:24 2020 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7 \ No newline at end of file +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file