temboo examples updated

This commit is contained in:
Federico Fissore 2013-07-09 20:07:54 +02:00
parent 7d3fee937e
commit 13f7439940
9 changed files with 37 additions and 18 deletions

View File

@ -110,6 +110,6 @@ void loop()
The same TembooAccount.h file settings can be used for all Temboo SDK sketches. The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
Keeping your account information in a separate file means you can save it once, Keeping your account information in a separate file means you can share the main .ino file without worrying
then just distribute the main .ino file without worrying that you forgot to delete your credentials. that you forgot to delete your credentials.
*/ */

View File

@ -149,3 +149,24 @@ void loop()
Serial.println("Waiting..."); Serial.println("Waiting...");
delay(90000); // wait 90 seconds between HomeTimeline calls delay(90000); // wait 90 seconds between HomeTimeline calls
} }
/*
IMPORTANT NOTE: TembooAccount.h:
TembooAccount.h is a file referenced by this sketch that contains your Temboo account information.
You'll need to edit the placeholder version of TembooAccount.h included with this example sketch,
by inserting your own Temboo account name and app key information. The contents of the file should
look like:
#define TEMBOO_ACCOUNT "myTembooAccountName" // your Temboo account name
#define TEMBOO_APP_KEY_NAME "myFirstApp" // your Temboo app key name
#define TEMBOO_APP_KEY "xxx-xxx-xxx-xx-xxx" // your Temboo app key
You can find your Temboo App Key information on the Temboo website,
under My Account > Application Keys
The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
Keeping your account information in a separate file means you can share the main .ino file without worrying
that you forgot to delete your credentials.
*/

View File

@ -132,8 +132,6 @@ void loop()
The same TembooAccount.h file settings can be used for all Temboo SDK sketches. The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
Keeping your account information in a separate file means you can save it once, Keeping your account information in a separate file means you can share the main .ino file without worrying
then just distribute the main .ino file without worrying that you forgot to delete your credentials. that you forgot to delete your credentials.
*/ */

View File

@ -133,6 +133,6 @@ void loop()
The same TembooAccount.h file settings can be used for all Temboo SDK sketches. The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
Keeping your account information in a separate file means you can save it once, Keeping your account information in a separate file means you can share the main .ino file without worrying
then just distribute the main .ino file without worrying that you forgot to delete your credentials. that you forgot to delete your credentials.
*/ */

View File

@ -150,6 +150,6 @@ void loop()
The same TembooAccount.h file settings can be used for all Temboo SDK sketches. The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
Keeping your account information in a separate file means you can save it once, Keeping your account information in a separate file means you can share the main .ino file without worrying
then just distribute the main .ino file without worrying that you forgot to delete your credentials. that you forgot to delete your credentials.
*/ */

View File

@ -174,6 +174,6 @@ unsigned long getSensorValue() {
The same TembooAccount.h file settings can be used for all Temboo SDK sketches. The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
Keeping your account information in a separate file means you can save it once, Keeping your account information in a separate file means you can share the main .ino file without worrying
then just distribute the main .ino file without worrying that you forgot to delete your credentials. that you forgot to delete your credentials.
*/ */

View File

@ -166,6 +166,6 @@ void printResult(String facility, String address) {
The same TembooAccount.h file settings can be used for all Temboo SDK sketches. The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
Keeping your account information in a separate file means you can save it once, Keeping your account information in a separate file means you can share the main .ino file without worrying
then just distribute the main .ino file without worrying that you forgot to delete your credentials. that you forgot to delete your credentials.
*/ */

View File

@ -126,6 +126,6 @@ void loop() {
The same TembooAccount.h file settings can be used for all Temboo SDK sketches. The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
Keeping your account information in a separate file means you can save it once, Keeping your account information in a separate file means you can share the main .ino file without worrying
then just distribute the main .ino file without worrying that you forgot to delete your credentials. that you forgot to delete your credentials.
*/ */

View File

@ -197,6 +197,6 @@ String base64Encode(String toEncode) {
The same TembooAccount.h file settings can be used for all Temboo SDK sketches. The same TembooAccount.h file settings can be used for all Temboo SDK sketches.
Keeping your account information in a separate file means you can save it once, Keeping your account information in a separate file means you can share the main .ino file without worrying
then just distribute the main .ino file without worrying that you forgot to delete your credentials. that you forgot to delete your credentials.
*/ */