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@26:3aad7d411eb0, 2016-05-17 (annotated)
- Committer:
- Jacinta
- Date:
- Tue May 17 23:19:33 2016 +0000
- Revision:
- 26:3aad7d411eb0
- Parent:
- 21:849e5636076e
....
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 | 7:ed4a10ebe720 | 4 | #include <vector> |
| Jacinta | 2:0b8065489409 | 5 | #include "log.h" |
| Jacinta | 15:a72b66e1f473 | 6 | #include "sensor.h" |
| Jacinta | 2:0b8065489409 | 7 | |
| Jacinta | 2:0b8065489409 | 8 | using std::vector; |
| Jacinta | 2:0b8065489409 | 9 | |
| Jacinta | 0:1eaebb55408a | 10 | #define QUEUESIZE 120 |
| Jacinta | 0:1eaebb55408a | 11 | |
| Jacinta | 0:1eaebb55408a | 12 | class UserMethods |
| Jacinta | 0:1eaebb55408a | 13 | { |
| Jacinta | 21:849e5636076e | 14 | public: |
| Jacinta | 26:3aad7d411eb0 | 15 | UserMethods(int num, ExpansionBoard sensor, bool lFlag); |
| 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 | 15:a72b66e1f473 | 19 | int deleteAllData(const void*); |
| Jacinta | 15:a72b66e1f473 | 20 | int deleteNData(const void*); |
| Jacinta | 7:ed4a10ebe720 | 21 | static vector<log_data> * v; |
| Jacinta | 21:849e5636076e | 22 | static int * n; |
| Jacinta | 21:849e5636076e | 23 | static bool flag; |
| Jacinta | 15:a72b66e1f473 | 24 | static ExpansionBoard * e; |
| Jacinta | 0:1eaebb55408a | 25 | }; |
| Jacinta | 0:1eaebb55408a | 26 | |
| Jacinta | 0:1eaebb55408a | 27 | #endif |
