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.cpp
- Revision:
- 25:2197b8bb930c
- Parent:
- 24:c924342f7c76
- Child:
- 27:1216b002cbf3
--- a/sensor.cpp Tue May 17 21:38:21 2016 +0000
+++ b/sensor.cpp Tue May 17 21:59:20 2016 +0000
@@ -4,6 +4,7 @@
#include "sensor.h"
#include "userMethods.h"
+// Mail box
Mail<log_data, QUEUESIZE> ExpansionBoard::mail_box;
vector<log_data> * ExpansionBoard::v;
int * ExpansionBoard::n;
@@ -46,6 +47,7 @@
}
}
+// This is the consumer
/*
void ExpansionBoard::getData(const void*)
{
@@ -89,6 +91,7 @@
return str;
}
+// Constructor for the class
ExpansionBoard::ExpansionBoard(vector<log_data> vector, int num, bool lFlag): T(15.0f)
{
v = &vector;
