STM32L476
Dependencies: MbedJSONValue SDFileSystem WConstants mbed-dev DS1820 TinyGPSPlus epd1in54
Fork of A_SSL_Main by
Diff: main.cpp
- Revision:
- 13:0477a745dad2
- Parent:
- 11:9b49bd5a5f8c
- Child:
- 15:fad0681e6fee
diff -r ade8f73aa4f3 -r 0477a745dad2 main.cpp --- a/main.cpp Tue Nov 27 13:58:43 2018 +0000 +++ b/main.cpp Tue Dec 04 17:02:51 2018 +0000 @@ -28,7 +28,7 @@ FILE* fp; TinyGPSPlus tgps; Serial serial(USBTX, USBRX,115200); //Local terminal Baud rate -SDFileSystem sd(PB_5, PB_4, PB_3, PB_12, "sd"); //uSD SPI +//SDFileSystem sd(PB_5, PB_4, PB_3, PB_12, "sd"); //uSD SPI //Temp sensors #define MAX_PROBES 16 @@ -386,6 +386,7 @@ } count = count--; + /* if (geotest == 0) //ToDo &&make sure the last publish handshake was successful { //msg to be saved on SD and published, will overwrite last saved message @@ -431,7 +432,7 @@ add_data("/sd/HeatingStationLog.txt",","); read_file("/sd/HeatingStationLog.txt"); } - + */ }