AK8963
Revision 2:51199a6440be, committed 2018-04-18
- Comitter:
- tyftyftyf
- Date:
- Wed Apr 18 20:24:00 2018 +0000
- Parent:
- 1:f8ba8df44aab
- Commit message:
- change to I2C 1
Changed in this revision
AK8963.h | Show annotated file Show diff for this revision Revisions of this file |
I2CdevAK8963.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/AK8963.h Wed Mar 28 21:06:51 2018 +0000 +++ b/AK8963.h Wed Apr 18 20:24:00 2018 +0000 @@ -36,8 +36,8 @@ #include "mbed.h" #ifndef I2C_SDA - #define I2C_SDA p28 - #define I2C_SCL p27 + #define I2C_SDA p9 + #define I2C_SCL p10 #endif #include "I2CdevAK8963.h"
--- a/I2CdevAK8963.h Wed Mar 28 21:06:51 2018 +0000 +++ b/I2CdevAK8963.h Wed Apr 18 20:24:00 2018 +0000 @@ -11,8 +11,8 @@ #include "mbed.h" #ifndef I2C_SDA - #define I2C_SDA p28 - #define I2C_SCL p27 + #define I2C_SDA p9 + #define I2C_SCL p10 #endif #include "MODI2C.h"