Los Putacos / Mbed OS WearableDevice_Nucleo_New

Dependencies:   MPU9250_SPI

Fork of WearableDevice_Nucleo by Los Putacos

Revision:
10:577e1fc4453e
Parent:
8:ba93a973f967
Child:
11:f19020fa18f1
Child:
12:c88478dfc622
--- a/event.cpp	Sat Oct 14 10:34:39 2017 +0000
+++ b/event.cpp	Sat Oct 14 23:37:02 2017 +0000
@@ -6,18 +6,30 @@
 * Created by: Gustavo Campana, Michael Schmidt, Miguel Lopez
 *       Date: 12-Oct-2017
 *    Version: V0.1
-*//*
+*/
 #include "mbed.h"
 #include "event.h"
 
+/*
 void print_stinrg(char c = '*') {
     pc.putc(c);
 }
+*/
 
-void print_event(void const *argv) {
+/*
+void print_event(void const *argv, int i) {
+    pc.printf("%d ",i);
     pc.printf((const char*)argv);
+    pc.printf("\r\n");
 }
+*/
 
+/*
 void blink_event(DigitalOut pin){
     pin = 1;
-}*/
\ No newline at end of file
+*/
+
+void readIMU(){
+    //imu.resetMPU9250();
+    pc.printf("%d\r\r ",time_stamp.read());
+}
\ No newline at end of file