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@34:0d51133891d0, 2016-05-18 (annotated)
- Committer:
- nlsantos
- Date:
- Wed May 18 03:11:38 2016 +0000
- Revision:
- 34:0d51133891d0
- Parent:
- 31:8bbdfea60151
jkkjl
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 | |
| nlsantos | 25:2197b8bb930c | 12 | |
| nlsantos | 25:2197b8bb930c | 13 | // Class that will proccess the user commands on main |
| Jacinta | 0:1eaebb55408a | 14 | class UserMethods |
| Jacinta | 0:1eaebb55408a | 15 | { |
| Jacinta | 21:849e5636076e | 16 | public: |
| Jacinta | 31:8bbdfea60151 | 17 | UserMethods(int num, ExpansionBoard sensor, bool lFlag); |
| Jacinta | 2:0b8065489409 | 18 | static void logging(const void*); |
| Jacinta | 3:1f17245afc88 | 19 | static void readAllData(const void*); |
| Jacinta | 3:1f17245afc88 | 20 | static void readNData(const void*); |
| Jacinta | 15:a72b66e1f473 | 21 | int deleteAllData(const void*); |
| Jacinta | 15:a72b66e1f473 | 22 | int deleteNData(const void*); |
| nlsantos | 34:0d51133891d0 | 23 | //static vector<log_data> * v; |
| Jacinta | 21:849e5636076e | 24 | static int * n; |
| Jacinta | 21:849e5636076e | 25 | static bool flag; |
| Jacinta | 15:a72b66e1f473 | 26 | static ExpansionBoard * e; |
| Jacinta | 0:1eaebb55408a | 27 | }; |
| Jacinta | 0:1eaebb55408a | 28 | |
| Jacinta | 0:1eaebb55408a | 29 | #endif |
