trabalho

Dependencies:   X_NUCLEO_IKS01A1 mbed-rtos mbed

Fork of HelloWorld_IKS01A1 by ST

Files at this revision

API Documentation at this revision

Comitter:
Wolfgang Betz
Date:
Thu Sep 03 10:46:55 2015 +0200
Parent:
3:a2d2342526db
Child:
5:c42c721555b2
Commit message:
Integrate mbed "hello world" giudelines

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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();