summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-12-02 16:50:07 -0600
committerMike Fiore <mfiore@multitech.com>2015-12-02 16:50:07 -0600
commit29960cf233c3ccf8c938764052feddfdac113d1d (patch)
tree72be89d6e03774f941826aee30beed9e559ee854 /main.cpp
parent85a5200fe6e04ed51a97f289261bef3c84ffa18c (diff)
downloadmtdot-box-evb-factory-firmware-29960cf233c3ccf8c938764052feddfdac113d1d.tar.gz
mtdot-box-evb-factory-firmware-29960cf233c3ccf8c938764052feddfdac113d1d.tar.bz2
mtdot-box-evb-factory-firmware-29960cf233c3ccf8c938764052feddfdac113d1d.zip
implement AT command to delete survey data file
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 3fdec38..c3b341a 100644
--- a/main.cpp
+++ b/main.cpp
@@ -21,6 +21,7 @@
#include "ModeSweep.h"
#include "ModeConfig.h"
// misc heders
+#include "FileName.h"
#include <string>
// LCD and backlight controllers
@@ -54,6 +55,8 @@ ModeConfig* modeConfig;
// Serial debug port
Serial debug(USBTX, USBRX);
+// Survey Data File
+char* file_name;
// Prototypes
void mainMenu();
@@ -64,6 +67,7 @@ void surveySweep();
int main() {
debug.baud(115200);
+ file_name = "SurveyData.txt";
lcd = new DOGS102(lcd_spi, lcd_spi_cs, lcd_cd);
lcd_backlight = new NCP5623B(backlight_i2c);