2018 revision to classic DataBus AVC code.

Dependencies:   LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell

Revision:
24:a7f92dfc5310
Child:
29:cb2f55fbfe9c
diff -r 5e61cf4a8c34 -r a7f92dfc5310 Logger.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Logger.h	Fri Dec 21 20:04:09 2018 +0000
@@ -0,0 +1,20 @@
+#ifndef __Logger_H
+#define __Logger_H
+
+#include "mbed.h"
+#include "SystemState.h"
+
+class Logger {
+public:
+    Logger(const char *file);
+    void log_gps(GpsData gd);
+    void log_estimation();
+
+private:
+    const char *_file;
+    FILE *_fp;
+    void _open();
+    void _close();
+};
+
+#endif
\ No newline at end of file