Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: F7_Ethernet mbed MbedJSONValue LCD_DISCO_F746NG mbed-rtos BSP_DISCO_F746NG CANMsg NetworkAPI SDFileSystem_Warning_Fixed GroveStreamsmodified LcdDiscoF746NgTracer JSON
main.h
00001 #ifndef __MAIN_H 00002 #define __MAIN_H 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 ///#include "GroveStreams.h" 00008 #include "mbed.h" 00009 // GroveStreams Settings 00010 const char gsApiKey[] = "YOUR_SECRET_API_KEY_HERE"; //Change This!!! 00011 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. 00012 const char gsCompTmplId[] = ""; //Optional. Tells GS what template to use when the feed initially arrives and a new component needs to be created. 00013 ////GroveStreams groveStreams(gsApiKey, &lcd); 00014 /////////GroveStreams groveStreams(gsApiKey); 00015 ///////////////////////////////const char* myMac = groveStreams.getMACAddress(); 00016 time_t seconds = time(NULL); 00017 #ifdef __cplusplus 00018 } 00019 #endif 00020 #endif
Generated on Wed Jul 13 2022 16:31:24 by
1.7.2