Nelson Santos / Mbed 2 deprecated trabalho

Dependencies:   X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed

Revision:
2:0b8065489409
Parent:
0:1eaebb55408a
Child:
3:1f17245afc88
--- a/userMethods.h	Sat May 14 09:30:21 2016 +0000
+++ b/userMethods.h	Sat May 14 13:58:57 2016 +0000
@@ -1,15 +1,19 @@
 #ifndef USERMETHODS_H
 #define USERMETHODS_H
 
+#include "log.h"
+#include <vector>
+
+using std::vector;
+
 #define QUEUESIZE 120
 
 class UserMethods
 {
-public:
-    static int deleteN(int n);
-    static int deleteAll();
-    bool setDate();
-    bool setTime();
+    public:
+    static void logging(const void*);
+    static void readAllData(vector<log_data>& v);
+    static void readNData(vector<log_data>& v, int &n);
 };
 
 #endif
\ No newline at end of file