PIC to Mbed errors

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ubidots.h Source File

ubidots.h

00001 #ifndef UBIDOTS_H
00002 #define UBIDOTS_H
00003 
00004 #include <stdio.h>
00005 #include <string.h>
00006 #include <stdint.h>
00007 
00008 #define UBIDOTS_SERVER   "things.ubidots.com"
00009 #define SIZE_HTTP_BODY   100
00010 #define SIZE_BUFFER_POST 200
00011 
00012 #define TOKEN           "DihroZdscJDt6ZIBX8TMBr84QZDTM7"
00013 #define VARIABLE_ID     "59977324c03M973c345e0527"
00014 
00015 #define VALUE           "\"value\": 1.0"
00016 
00017 //const char* ubidotsPOST( const char* token,  const char* variable_id, float value);
00018 uint8_t* ubidotsGET(uint8_t* token, uint8_t* variable_id );
00019 
00020 #endif