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:
- 31:8bbdfea60151
- Parent:
- 29:464097268aaf
- Child:
- 34:0d51133891d0
- Child:
- 35:34bbca276f99
--- a/sensor.h Wed May 18 00:38:55 2016 +0000 +++ b/sensor.h Wed May 18 01:11:13 2016 +0000 @@ -25,13 +25,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 Queue<log_data, QUEUESIZE> queue; static char *ExpansionBoard::printDouble(char* str, double v, int decimalDigits); float T; //Default sampling rate, specified in specs - static vector<log_data> * v; + static vector<log_data> v; static int * n; static bool flag; };