Los Putacos / Mbed OS WearableDevice_Nucleo_New

Dependencies:   MPU9250_SPI

Fork of WearableDevice_Nucleo by Los Putacos

Revision:
23:aad5fd1b3ef9
Parent:
18:7f9c2b8541e1
Child:
24:eed68c95160c
--- a/event.cpp	Thu Oct 19 09:05:47 2017 +0000
+++ b/event.cpp	Wed Oct 25 13:24:05 2017 +0000
@@ -1,7 +1,7 @@
 /*
 * Los Putacos
 * Copyright (C) 2017, All rights reserved.
-* ________________________________________ 
+* ________________________________________
 *
 * Created by: Gustavo Campana, Michael Schmidt, Miguel Lopez
 *       Date: 12-Oct-2017
@@ -9,6 +9,20 @@
 */
 #include "mbed.h"
 #include "event.h"
+#include "XBeeLib.h"
+
+extern XBeeLib::XBeeZB XBee;
+
+void CheckInputBuffer(void)
+{
+    // Check for Received Frames
+    XBee.process_rx_frames();
+}
+
+void ReadIMUData(void)
+{
+
+}
 
 /*
 void print_stinrg(char c = '*') {
@@ -27,15 +41,37 @@
 /*
 void blink_event(DigitalOut pin){
     pin = 1;
+    }
 */
 
+/*
 void readIMU(){
     //imu.resetMPU9250();
     PC.printf("%d\r\r ", time_stamp.read());
-}
+}*/
 
-void gayEvent(){
+/*void gayEvent(){
     PC.printf("Is Michi schwul? (1 - true, 0 - false): ");
     PC.printf("%d", 1);
-    PC.printf("\r\n");   
-}
\ No newline at end of file
+    PC.printf("\r\n");
+}*/
+/*
+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 = !pin;
+}*/
+//-----------------------------------------------------------------
+
+//-----------------------------------------------------------------
+/*void println_event(){
+    pc.printf("Arroz, feijao e batata\r\n");
+}*/
+//-----------------------------------------------------------------
\ No newline at end of file