Gunar Kroeger / Mbed OS AcusticLocator
Revision:
0:61544337ff5e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Definitions.h	Thu May 03 20:39:50 2018 +0000
@@ -0,0 +1,13 @@
+#ifndef DEFINITIONS_H
+#define DEFINITIONS_H
+
+enum { ADC_LENGTH = 4 };
+
+typedef struct Signal {
+	float& operator[](unsigned i) { return channel[i]; }
+	float channel[ADC_LENGTH];
+} Signal;
+
+typedef std::vector<Signal> SignalBuf;
+
+#endif
\ No newline at end of file