Initial Publish Leaning GPS/SDCARD
Dependencies: FileManager GPSGms6 SDFileSystem mbed
Fork of 2545_SD_Card by
Diff: main.cpp
- Revision:
- 3:78eaf4291b84
- Parent:
- 2:c96b02fcb98e
- Child:
- 4:aa7ac2ac6913
--- a/main.cpp Fri May 06 20:16:30 2016 +0000 +++ b/main.cpp Fri May 06 20:23:08 2016 +0000 @@ -46,25 +46,13 @@ { serial.baud(9600); // full-speed! serial.printf("\n#### SD Card Initialization #####"); - wait(1); - - // comment this line out if you don't want to delete the file! - delete_file("/sd/test.txt"); - - ////////////////////// Simple writing example ////////////////////////// - - // open file for writing ('w') - creates file if it doesn't exist and overwrites - // if it does. If you wish to add a score onto a list, then you can - // append instead 'a'. This will open the file if it exists and start - // writing at the end. It will create the file if it doesn't exist. +// wait(1); ////////////////////// read Setup File ////////////////////////// readSetupFile(); gps_interval = (float)GPSInterval()/1000; logSystemData(gps_interval); - - /////////////////////////////////////////////////// serial.printf("\n End of SD Card Initialization ");