Los Putacos / Mbed OS WearableDevice_Nucleo_New

Dependencies:   MPU9250_SPI

Fork of WearableDevice_Nucleo by Los Putacos

Revision:
7:ebaaff27840b
Parent:
6:939df52d75c9
Child:
8:ba93a973f967
--- a/event.cpp	Thu Oct 12 13:26:59 2017 +0000
+++ b/event.cpp	Thu Oct 12 14:32:34 2017 +0000
@@ -7,5 +7,19 @@
 *       Date: 12-Oct-2017
 *    Version: V0.1
 */
+#include "mbed.h"
 
-//-----------------------------------------------------------------
+extern Serial pc;
+
+
+void print_stinrg(char c = '*') {
+    pc.putc(c);
+}
+
+void print_event(void const *argv) {
+    pc.printf((const char*)argv);
+}
+
+void blink_event(DigitalOut pin){
+    pin = 1;
+}
\ No newline at end of file