Nelson Santos / Mbed 2 deprecated trabalho

Dependencies:   X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed

Revision:
7:ed4a10ebe720
Parent:
3:1f17245afc88
Child:
10:2f9585ff5a7b
--- a/sensor.h	Sun May 15 14:34:31 2016 +0000
+++ b/sensor.h	Sun May 15 22:07:10 2016 +0000
@@ -1,5 +1,6 @@
 #ifndef EXPANSIONBOARD_H
 #define EXPANSIONBOARD_H
+
 #include "rtos.h"
 #include "log.h"
 #include "x_nucleo_iks01a1.h"
@@ -22,12 +23,14 @@
 class ExpansionBoard
 {
 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