version with updated libs

Dependencies:   F7_Ethernet mbed MbedJSONValue LCD_DISCO_F746NG mbed-rtos BSP_DISCO_F746NG CANMsg NetworkAPI SDFileSystem_Warning_Fixed GroveStreamsmodified LcdDiscoF746NgTracer JSON

Branch:
jpa
Revision:
17:f3c5ec9ca00f
Parent:
0:48863a0964f5
--- a/main.h	Wed Dec 30 17:22:27 2020 +0000
+++ b/main.h	Wed Jan 13 19:52:35 2021 +0000
@@ -2,27 +2,19 @@
 #define __MAIN_H
 
 #ifdef __cplusplus
- extern "C" {
+   extern "C" {
+     #endif
+     ///#include "GroveStreams.h"
+     #include "mbed.h"
+     // GroveStreams Settings
+     const char gsApiKey[] = "YOUR_SECRET_API_KEY_HERE";   //Change This!!!
+     const char gsCompName[] = "STM32F746+Discovery";  //Optionally change. Set this to give your component a name when it initially registers. Encode special chars such as spaces.
+     const char gsCompTmplId[] = "";  //Optional. Tells GS what template to use when the feed initially arrives and a new component needs to be created.
+     ////GroveStreams groveStreams(gsApiKey, &lcd);
+     /////////GroveStreams groveStreams(gsApiKey);
+     ///////////////////////////////const char* myMac = groveStreams.getMACAddress();
+     time_t seconds = time(NULL);
+     #ifdef __cplusplus
+     }
+  #endif
 #endif
-
-#include "GroveStreams.h"
-#include "mbed.h"
-
-// GroveStreams Settings
-const char gsApiKey[] = "YOUR_SECRET_API_KEY_HERE";   //Change This!!!
-const char gsCompName[] = "STM32F746+Discovery";  //Optionally change. Set this to give your component a name when it initially registers. Encode special chars such as spaces.
-
-const char gsCompTmplId[] = "";  //Optional. Tells GS what template to use when the feed initially arrives and a new component needs to be created.
-
-////GroveStreams groveStreams(gsApiKey, &lcd);
-GroveStreams groveStreams(gsApiKey);
-
-const char* myMac = groveStreams.getMACAddress();
-
-time_t seconds = time(NULL);
-
-
-#ifdef __cplusplus
-}
-#endif
-#endif