add senet packet format
Dependencies: Senet_Packet mDot_X_NUCLEO_IKS01A1 libmDot-dev-mbed5-deprecated
Fork of mDot-IKS01A1 by
Revision 2:d0873bb1255f, committed 2016-12-09
- Comitter:
- pferland
- Date:
- Fri Dec 09 20:51:48 2016 +0000
- Parent:
- 1:14ddb9556b78
- Child:
- 3:d34798ffcaf8
- Commit message:
- Change in IKS01A1 library
Changed in this revision
X_NUCLEO_IKS01A1.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/X_NUCLEO_IKS01A1.lib Fri Dec 09 17:26:16 2016 +0000 +++ b/X_NUCLEO_IKS01A1.lib Fri Dec 09 20:51:48 2016 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/ST/code/X_NUCLEO_IKS01A1/#bd74c33ecbbd +http://developer.mbed.org/teams/ST/code/X_NUCLEO_IKS01A1/#83ba1f916d99
--- a/main.cpp Fri Dec 09 17:26:16 2016 +0000 +++ b/main.cpp Fri Dec 09 20:51:48 2016 +0000 @@ -27,7 +27,7 @@ /* Instantiate the expansion board */ - X_NUCLEO_IKS01A1 *mems_expansion_board = X_NUCLEO_IKS01A1::Instance(D14, D15); + X_NUCLEO_IKS01A1 *mems_expansion_board = X_NUCLEO_IKS01A1::Instance(I2C_SDA, I2C_SCL, PC_1); /* Retrieve the composing elements of the expansion board */ GyroSensor *gyroscope = mems_expansion_board->GetGyroscope();