FightSense demo for PoliMI

Dependencies:   X_NUCLEO_6180XA1 mbed

Fork of HelloWorld_6180XA1 by ST

Revision:
40:204f84887d70
Parent:
39:851cfabf7aa6
--- 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