The library is designed to connect the MBED boards to the ThingSpeak IoT cloud.
Fork of Thingspeak by
Thingspeak.h
- Committer:
- mreda
- Date:
- 2018-02-12
- Revision:
- 1:0c196a572d6b
- Parent:
- 0:d98f92bb426f
File content as of revision 1:0c196a572d6b:
#ifndef MBED_THINGSPEAK_H #define MBED_THINGSPEAK_H #include "mbed.h" #include "HTTPClient.h" class Thingspeak { public: //@return 0 on success, HTTP error (<0) on failure HTTPResult PostDataToChannel(char* channelWriteAPIKey, int fieldNumber, int fieldValue); private: HTTPClient _http; }; #endif