The library is designed to connect the MBED boards to the ThingSpeak IoT cloud.
Fork of Thingspeak by
Revision 1:0c196a572d6b, committed 2018-02-12
- Comitter:
- mreda
- Date:
- Mon Feb 12 17:34:47 2018 +0000
- Parent:
- 0:d98f92bb426f
- Commit message:
- ThingSpeak_Library_v1_postToChannel
Changed in this revision
Thingspeak.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r d98f92bb426f -r 0c196a572d6b Thingspeak.h --- a/Thingspeak.h Mon Feb 12 10:18:15 2018 +0000 +++ b/Thingspeak.h Mon Feb 12 17:34:47 2018 +0000 @@ -7,14 +7,8 @@ class Thingspeak { public: -//This function post data to the thingspeak cloud -/** Execute a POST request on the a private URL obtained from inputs' arguments -Blocks until completion -@param channelWriteAPIKey : your Channel Write API Key -@param fieldNumber : field number of your channel -@param fieldValue : field value of the entered field -@return 0 on success, HTTP error (<0) on failure -*/ + +//@return 0 on success, HTTP error (<0) on failure HTTPResult PostDataToChannel(char* channelWriteAPIKey, int fieldNumber, int fieldValue);