To use the Arduino Yún Shield with Temboo, you'll need to make two simple modifications to the code that we generate for the Arduino Yún. This tutorial will guide you through those changes.
Before you start, make sure that you're using the latest version of our Arduino Library (at a minimum you'll need version 1.1.6). To update your Temboo library for Arduino, go to the Arduino IDE's Library Manager, search for Temboo, and install the latest version.
Once you've used our website to generate code for Arduino Yún, you're ready to convert it to work with the Arduino Yún Shield. If you need help getting started with using Temboo to generate code for the Arduino Yún, you can find our tutorials here.
With your Yún sketch in place, you're ready to edit it so that it's compatible with the Arduino Yún Shield.
1First, change the include statement #include <Temboo.h>
to #include <TembooYunShield.h>
. Your include statements should look like this:
#include <Bridge.h> #include <TembooYunShield.h> #include "TembooAccount.h"
2Next, change the Temboo object name from TembooChoreo
to TembooYunShieldChoreo
. Your code should look like:
TembooYunShieldChoreo specificChoreoName
After making these changes, you should be able to run your sketch with the Arduino Yún Shield and see the output in the Arduino IDE's Serial Monitor window. Enjoy!
We're always happy to help. Just email us at support@temboo.com, and we'll answer your questions.