diff options
author | Mike Fiore <mfiore@multitech.com> | 2015-12-02 16:50:07 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2015-12-02 16:50:07 -0600 |
commit | 29960cf233c3ccf8c938764052feddfdac113d1d (patch) | |
tree | 72be89d6e03774f941826aee30beed9e559ee854 /main.cpp | |
parent | 85a5200fe6e04ed51a97f289261bef3c84ffa18c (diff) | |
download | mtdot-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.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |