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: sensor.h
- Revision:
- 26:3aad7d411eb0
- Parent:
- 21:849e5636076e
diff -r c924342f7c76 -r 3aad7d411eb0 sensor.h --- a/sensor.h Tue May 17 21:38:21 2016 +0000 +++ b/sensor.h Tue May 17 23:19:33 2016 +0000 @@ -23,13 +23,13 @@ class ExpansionBoard { public: - ExpansionBoard(vector<log_data> vector, int num, bool lFlag); + ExpansionBoard(int num, bool lFlag); static void sampleData(); static void getData(const void*); static Mail<log_data, QUEUESIZE> mail_box; static char *ExpansionBoard::printDouble(char* str, double v, int decimalDigits); float T; //Default sampling rate, specified in specs - static vector<log_data> * v; + static std::vector<log_data> v; static int * n; static bool flag; static bool loggingFlag;