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
userMethods.h@5:68e9baef6ca5, 2016-05-15 (annotated)
- Committer:
- Jacinta
- Date:
- Sun May 15 16:55:57 2016 +0000
- Revision:
- 5:68e9baef6ca5
- Parent:
- 4:597291e88109
.......
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Jacinta | 0:1eaebb55408a | 1 | #ifndef USERMETHODS_H |
| Jacinta | 0:1eaebb55408a | 2 | #define USERMETHODS_H |
| Jacinta | 0:1eaebb55408a | 3 | |
| Jacinta | 5:68e9baef6ca5 | 4 | #include <vector> |
| Jacinta | 2:0b8065489409 | 5 | #include "log.h" |
| Jacinta | 2:0b8065489409 | 6 | |
| Jacinta | 4:597291e88109 | 7 | #define QUEUESIZE 120 |
| Jacinta | 2:0b8065489409 | 8 | |
| Jacinta | 4:597291e88109 | 9 | using std::vector; |
| Jacinta | 0:1eaebb55408a | 10 | |
| Jacinta | 0:1eaebb55408a | 11 | class UserMethods |
| Jacinta | 0:1eaebb55408a | 12 | { |
| Jacinta | 4:597291e88109 | 13 | public: |
| Jacinta | 4:597291e88109 | 14 | UserMethods(vector<log_data> vector, int num); |
| Jacinta | 5:68e9baef6ca5 | 15 | UserMethods(); |
| Jacinta | 2:0b8065489409 | 16 | static void logging(const void*); |
| Jacinta | 3:1f17245afc88 | 17 | static void readAllData(const void*); |
| Jacinta | 3:1f17245afc88 | 18 | static void readNData(const void*); |
| Jacinta | 4:597291e88109 | 19 | static vector<log_data> * v; |
| Jacinta | 4:597291e88109 | 20 | static int * n; |
| Jacinta | 0:1eaebb55408a | 21 | }; |
| Jacinta | 0:1eaebb55408a | 22 | |
| Jacinta | 0:1eaebb55408a | 23 | #endif |
