![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
a
Dependencies: X_NUCLEO_IKS01A1 mbed
Fork of HelloWorld_IKS01A1 by
Diff: main.cpp
- Revision:
- 4:b1526d074d83
- Parent:
- 3:a2d2342526db
- Child:
- 10:211cd9c27d5e
diff -r a2d2342526db -r b1526d074d83 main.cpp --- a/main.cpp Mon Aug 31 12:07:22 2015 +0200 +++ b/main.cpp Thu Sep 03 10:46:55 2015 +0200 @@ -41,7 +41,7 @@ #include "x_nucleo_iks01a1.h" /* Instantiate the expansion board */ -static X_NUCLEO_IKS01A1 *mems_expansion_board = X_NUCLEO_IKS01A1::Instance(); +static X_NUCLEO_IKS01A1 *mems_expansion_board = X_NUCLEO_IKS01A1::Instance(D14, D15); /* Retrieve the composing elements of the expansion board */ static GyroSensor *gyroscope = mems_expansion_board->GetGyroscope();