mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-01 23:29:28 +01:00
temboo examples updated
This commit is contained in:
parent
7d3fee937e
commit
13f7439940
@ -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.
|
||||||
*/
|
*/
|
||||||
|
@ -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.
|
||||||
|
*/
|
||||||
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user