FightSense demo for PoliMI

Dependencies:   X_NUCLEO_6180XA1 mbed

Fork of HelloWorld_6180XA1 by ST

Files at this revision

API Documentation at this revision

Comitter:
mapellil
Date:
Tue Mar 15 12:54:53 2016 +0000
Parent:
39:851cfabf7aa6
Commit message:
FIxed Blue Button management

Changed in this revision

X_NUCLEO_6180XA1.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
diff -r 851cfabf7aa6 -r 204f84887d70 X_NUCLEO_6180XA1.lib
--- a/X_NUCLEO_6180XA1.lib	Tue Feb 23 09:29:18 2016 +0000
+++ b/X_NUCLEO_6180XA1.lib	Tue Mar 15 12:54:53 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/ST/code/X_NUCLEO_6180XA1/#3cce4ba37695
+http://developer.mbed.org/teams/ST/code/X_NUCLEO_6180XA1/#36d12d319078
diff -r 851cfabf7aa6 -r 204f84887d70 main.cpp
--- a/main.cpp	Tue Feb 23 09:29:18 2016 +0000
+++ b/main.cpp	Tue Mar 15 12:54:53 2016 +0000
@@ -197,7 +197,7 @@
 =============================================================================*/
 int main()
 {   
-#ifdef USER_BUTTON
+#if USER_BUTTON==PC_13  // we are cross compiling for Nucleo-f401 
    InterruptIn stop_button (USER_BUTTON);
    stop_button.rise (&StopMeasureIRQ);	
 #endif