Nelson Santos / Mbed 2 deprecated trabalho

Dependencies:   X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed

Revision:
4:597291e88109
Parent:
3:1f17245afc88
--- a/sensor.h	Sat May 14 17:01:22 2016 +0000
+++ b/sensor.h	Sun May 15 15:33:41 2016 +0000
@@ -1,5 +1,6 @@
 #ifndef EXPANSIONBOARD_H
 #define EXPANSIONBOARD_H
+
 #include "rtos.h"
 #include "log.h"
 #include "x_nucleo_iks01a1.h"
@@ -23,11 +24,16 @@
 {
 public:
     ExpansionBoard();
+    ExpansionBoard(vector<log_data> vector, int num);
     static void sampleData();
     static void getData(const void*);
     static Mail<log_data, QUEUESIZE> mail_box;
     static char *ExpansionBoard::printDouble(char* str, double v, int decimalDigits);
-    float T; //Default sampling rate, specified in specs     
+    float T; //Default sampling rate, specified in specs   
+    static vector<log_data> * v;
+    static int * n;  
 };
 
+
+
 #endif
\ No newline at end of file