domotique-stm32 / Mbed 2 deprecated grove_stream_jpa_sd2-3

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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.h Source File

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