Craig Evans / Mbed 2 deprecated ELEC2645_InterruptIn

Dependencies:   mbed

Revision:
4:879718bd3126
Parent:
3:6cc7d6600a30
Child:
5:d5bdf787ae1a
--- a/main.cpp	Wed Jan 06 11:55:50 2016 +0000
+++ b/main.cpp	Wed Dec 20 09:52:17 2017 +0000
@@ -41,6 +41,8 @@
         if (g_sw2_flag) {
             g_sw2_flag = 0;  // if it has, clear the flag
 
+            // send message over serial port - can observe in CoolTerm etc.
+            printf("Execute task \n");
             // DO TASK HERE
         }