Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed
Diff: userMethods.h
- 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
