This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This example is to get the last value of variable from the Ubidots API | |
// This example is to save multiple variables to the Ubidots API with TCP method | |
/**************************************** | |
* Include Libraries | |
****************************************/ | |
#include "Ubidots.h" | |
#include <SHT1x.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************************************************* | |
* This Example sends harcoded data to Ubidots and serves as example for users which | |
* desire build a HTTP request to the Ubidots API with any device. Please reference to the link below | |
* to find more information about it - Ubidots REST API Reference - https://ubidots.com/docs/api/ | |
* | |
* You will find a help guide for this code on the link below: | |
* http://help.ubidots.com/connect-your-devices/connect-your-intel-edison-to-ubidots-using-arduino-over-http | |
* | |
* This example is given AS IT IS without any warranty. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***************************************** | |
* Include Libraries | |
****************************************/ | |
#include <ESP8266WiFi.h> | |
#include <ConfigManager.h> | |
#include <PubSubClient.h> | |
/**************************************** | |
* Define Constants | |
****************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Include librairies | |
#include <WISOL.h> | |
#include <Tsensors.h> | |
#include <Wire.h> | |
#include <math.h> | |
Isigfox *Isigfox = new WISOL(); | |
Tsensors *tSensors = new Tsensors(); | |
// Init function |