mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
Corrected typos: Yun -> Yún
This commit is contained in:
parent
74b853bf99
commit
c387f87329
@ -13,7 +13,7 @@
|
|||||||
a final key combination (CTRL-U).
|
a final key combination (CTRL-U).
|
||||||
|
|
||||||
Circuit:
|
Circuit:
|
||||||
* Arduino Leonardo, Micro, Due, LilyPad USB, or Yun
|
* Arduino Leonardo, Micro, Due, LilyPad USB, or Yún
|
||||||
* wire to connect D2 to ground.
|
* wire to connect D2 to ground.
|
||||||
|
|
||||||
created 5 Mar 2012
|
created 5 Mar 2012
|
||||||
|
@ -66,7 +66,7 @@ We suggest to delay the adoption of the new format until a stable 1.5.x is relea
|
|||||||
* Added missing keywords: YunServer, YunClient, pow
|
* Added missing keywords: YunServer, YunClient, pow
|
||||||
* Improved folder ignore: now hidden, starting with a dot, and SCCS folders are ignored
|
* Improved folder ignore: now hidden, starting with a dot, and SCCS folders are ignored
|
||||||
* Improved auto format: now handled by Artistic Style http://astyle.sourceforge.net/
|
* Improved auto format: now handled by Artistic Style http://astyle.sourceforge.net/
|
||||||
* Improved SSH uploader (Arduino Yun): uses file ~/.ssh/config if available.
|
* Improved SSH uploader (Arduino Yún): uses file ~/.ssh/config if available.
|
||||||
Allows public key only authentication and ssh servers listening on ports other than 22.
|
Allows public key only authentication and ssh servers listening on ports other than 22.
|
||||||
* Font anti-aliasing now ON by default (users will have to either delete or manually edit their preferences.txt file)
|
* Font anti-aliasing now ON by default (users will have to either delete or manually edit their preferences.txt file)
|
||||||
* Added warning message when opening sketches with additional files with illegal names
|
* Added warning message when opening sketches with additional files with illegal names
|
||||||
@ -113,14 +113,14 @@ ARDUINO 1.5.4 BETA 2013.09.10
|
|||||||
|
|
||||||
[ide]
|
[ide]
|
||||||
* Revert to English locale if the system default is not available
|
* Revert to English locale if the system default is not available
|
||||||
* Added support for Arduino Yun
|
* Added support for Arduino Yún
|
||||||
* Autodetect of boards connected to each serial port
|
* Autodetect of boards connected to each serial port
|
||||||
* Network upload and discovery for Arduino Yun
|
* Network upload and discovery for Arduino Yún
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
* sam: fixed wrong SPI initialization (noblepepper)
|
* sam: fixed wrong SPI initialization (noblepepper)
|
||||||
* updated all instances of Adafruit_GFX to the latest version
|
* updated all instances of Adafruit_GFX to the latest version
|
||||||
* added libraries for Arduino Yun
|
* added libraries for Arduino Yún
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
* avr: fixed bug introduced with recent optimizations in HardwareSerial (atmega8 cpu) (darryl)
|
* avr: fixed bug introduced with recent optimizations in HardwareSerial (atmega8 cpu) (darryl)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
Arduino Yun Bridge example
|
Arduino Yún Bridge example
|
||||||
|
|
||||||
This example for the Arduino Yun shows how to use the
|
This example for the Arduino Yún shows how to use the
|
||||||
Bridge library to access the digital and analog pins
|
Bridge library to access the digital and analog pins
|
||||||
on the board through REST calls. It demonstrates how
|
on the board through REST calls. It demonstrates how
|
||||||
you can create your own API when using REST style
|
you can create your own API when using REST style
|
||||||
@ -26,7 +26,7 @@
|
|||||||
#include <YunServer.h>
|
#include <YunServer.h>
|
||||||
#include <YunClient.h>
|
#include <YunClient.h>
|
||||||
|
|
||||||
// Listen on default port 5555, the webserver on the Yun
|
// Listen on default port 5555, the webserver on the Yún
|
||||||
// will forward there all the HTTP requests for us.
|
// will forward there all the HTTP requests for us.
|
||||||
YunServer server;
|
YunServer server;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Console Pixel
|
Console Pixel
|
||||||
|
|
||||||
An example of using the Arduino board to receive data from the
|
An example of using the Arduino board to receive data from the
|
||||||
Console on the Arduino Yun. In this case, the Arduino boards turns on an LED when
|
Console on the Arduino Yún. In this case, the Arduino boards turns on an LED when
|
||||||
it receives the character 'H', and turns off the LED when it
|
it receives the character 'H', and turns off the LED when it
|
||||||
receives the character 'L'.
|
receives the character 'L'.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Yun HTTP Client
|
Yún HTTP Client
|
||||||
|
|
||||||
This example for the Arduino Yún shows how create a basic
|
This example for the Arduino Yún shows how create a basic
|
||||||
HTTP client that connects to the internet and downloads
|
HTTP client that connects to the internet and downloads
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
Running shell commands using Process class.
|
Running shell commands using Process class.
|
||||||
|
|
||||||
This sketch demonstrate how to run linux shell commands
|
This sketch demonstrate how to run linux shell commands
|
||||||
using an Arduino Yún. It runs the wifiCheck script on the linino side
|
using an Arduino Yún. It runs the wifiCheck script on the Linux side
|
||||||
of the Yun, then uses grep to get just the signal strength line.
|
of the Yún, then uses grep to get just the signal strength line.
|
||||||
Then it uses parseInt() to read the wifi signal strength as an integer,
|
Then it uses parseInt() to read the wifi signal strength as an integer,
|
||||||
and finally uses that number to fade an LED using analogWrite().
|
and finally uses that number to fade an LED using analogWrite().
|
||||||
|
|
||||||
The circuit:
|
The circuit:
|
||||||
* Arduino Yun with LED connected to pin 9
|
* Arduino Yún with LED connected to pin 9
|
||||||
|
|
||||||
created 12 Jun 2013
|
created 12 Jun 2013
|
||||||
by Cristian Maglie
|
by Cristian Maglie
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
spacebrew data types, and a custom data type. Every time data is
|
spacebrew data types, and a custom data type. Every time data is
|
||||||
received it is output to the Serial monitor.
|
received it is output to the Serial monitor.
|
||||||
|
|
||||||
Make sure that your Yun is connected to the internet for this example
|
Make sure that your Yún is connected to the internet for this example
|
||||||
to function properly.
|
to function properly.
|
||||||
|
|
||||||
The circuit:
|
The circuit:
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
is sent. The sketch also accepts analog range messages from
|
is sent. The sketch also accepts analog range messages from
|
||||||
other Spacebrew apps.
|
other Spacebrew apps.
|
||||||
|
|
||||||
Make sure that your Yun is connected to the internet for this example
|
Make sure that your Yún is connected to the internet for this example
|
||||||
to function properly.
|
to function properly.
|
||||||
|
|
||||||
The circuit:
|
The circuit:
|
||||||
- Button connected to Yun, using the Arduino's internal pullup resistor.
|
- Button connected to Yún, using the Arduino's internal pullup resistor.
|
||||||
|
|
||||||
created 2013
|
created 2013
|
||||||
by Julio Terra
|
by Julio Terra
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
message is sent. The sketch also accepts analog range messages from
|
message is sent. The sketch also accepts analog range messages from
|
||||||
other Spacebrew apps.
|
other Spacebrew apps.
|
||||||
|
|
||||||
Make sure that your Yun is connected to the internet for this example
|
Make sure that your Yún is connected to the internet for this example
|
||||||
to function properly.
|
to function properly.
|
||||||
|
|
||||||
The circuit:
|
The circuit:
|
||||||
- Potentiometer connected to Yun. Middle pin connected to analog pin A0,
|
- Potentiometer connected to Yún. Middle pin connected to analog pin A0,
|
||||||
other pins connected to 5v and GND pins.
|
other pins connected to 5v and GND pins.
|
||||||
|
|
||||||
created 2013
|
created 2013
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
to and from Spacebrew. Every time string data is received it
|
to and from Spacebrew. Every time string data is received it
|
||||||
is output to the Serial monitor.
|
is output to the Serial monitor.
|
||||||
|
|
||||||
Make sure that your Yun is connected to the internet for this example
|
Make sure that your Yún is connected to the internet for this example
|
||||||
to function properly.
|
to function properly.
|
||||||
|
|
||||||
The circuit:
|
The circuit:
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
ControlBySMS
|
ControlBySMS
|
||||||
|
|
||||||
Demonstrates using an SMS message to a Twilio account to turn an LED
|
Demonstrates using an SMS message to a Twilio account to turn an LED
|
||||||
on the Yun board on and off using the Temboo Arduino Yun SDK.
|
on the Yún board on and off using the Temboo Arduino Yún SDK.
|
||||||
Sending a SMS with the text "LED ON" to your Twilio phone number
|
Sending a SMS with the text "LED ON" to your Twilio phone number
|
||||||
will turn on the LED on the Yun. Sending "LED OFF" will turn it off.
|
will turn on the LED on the Yún. Sending "LED OFF" will turn it off.
|
||||||
|
|
||||||
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
||||||
|
|
||||||
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
Your account will now receive SMS messages, but won't send any responses.
|
Your account will now receive SMS messages, but won't send any responses.
|
||||||
|
|
||||||
This example assumes basic familiarity with Arduino sketches, and that your Yun is connected
|
This example assumes basic familiarity with Arduino sketches, and that your Yún is connected
|
||||||
to the Internet.
|
to the Internet.
|
||||||
|
|
||||||
Looking for another API? We've got over 100 in our Library!
|
Looking for another API? We've got over 100 in our Library!
|
||||||
@ -85,7 +85,7 @@ unsigned long lastSMSCheckTime = -SMS_CHECK_PERIOD;
|
|||||||
// (we only need to process newer messages)
|
// (we only need to process newer messages)
|
||||||
String lastSid;
|
String lastSid;
|
||||||
|
|
||||||
// we'll be turning the LED built in to the Yun on and off
|
// we'll be turning the LED built in to the Yún on and off
|
||||||
// to simulate controlling some device. That LED is on pin 13.
|
// to simulate controlling some device. That LED is on pin 13.
|
||||||
int LED_PIN = 13;
|
int LED_PIN = 13;
|
||||||
|
|
||||||
@ -106,7 +106,7 @@ void setup() {
|
|||||||
// start with the LED off
|
// start with the LED off
|
||||||
digitalWrite(LED_PIN, LOW);
|
digitalWrite(LED_PIN, LOW);
|
||||||
|
|
||||||
// initialize the connection to the Linino processor.
|
// initialize the connection to Linux.
|
||||||
Bridge.begin();
|
Bridge.begin();
|
||||||
|
|
||||||
// Twilio will report old SMS messages. We want to
|
// Twilio will report old SMS messages. We want to
|
||||||
@ -183,7 +183,7 @@ void checkForMessages(bool ignoreCommands) {
|
|||||||
// this account receives lots of messages in quick succession,
|
// this account receives lots of messages in quick succession,
|
||||||
// (more than 3 per minute in this case), we might miss some control
|
// (more than 3 per minute in this case), we might miss some control
|
||||||
// messages. But if we request too many messages, we might run out of
|
// messages. But if we request too many messages, we might run out of
|
||||||
// memory on the Arduino side of the Yun.
|
// memory on the Arduino side of the Yún.
|
||||||
ListMessagesChoreo.addInput("PageSize", "3");
|
ListMessagesChoreo.addInput("PageSize", "3");
|
||||||
|
|
||||||
// We want the response in XML format to process with our
|
// We want the response in XML format to process with our
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
GetYahooWeatherReport
|
GetYahooWeatherReport
|
||||||
|
|
||||||
Demonstrates making a request to the Yahoo! Weather API using Temboo from an Arduino Yun.
|
Demonstrates making a request to the Yahoo! Weather API using Temboo from an Arduino Yún.
|
||||||
|
|
||||||
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
||||||
|
|
||||||
@ -9,10 +9,10 @@
|
|||||||
If you don't already have one, you can register for a free Temboo account at
|
If you don't already have one, you can register for a free Temboo account at
|
||||||
http://www.temboo.com
|
http://www.temboo.com
|
||||||
|
|
||||||
This example assumes basic familiarity with Arduino sketches, and that your Yun is connected
|
This example assumes basic familiarity with Arduino sketches, and that your Yún is connected
|
||||||
to the Internet.
|
to the Internet.
|
||||||
|
|
||||||
Looking for another API to use with your Arduino Yun? We've got over 100 in our Library!
|
Looking for another API to use with your Arduino Yún? We've got over 100 in our Library!
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
*/
|
*/
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
ReadATweet
|
ReadATweet
|
||||||
|
|
||||||
Demonstrates retrieving the most recent Tweet from a user's home timeline
|
Demonstrates retrieving the most recent Tweet from a user's home timeline
|
||||||
using Temboo from an Arduino Yun.
|
using Temboo from an Arduino Yún.
|
||||||
|
|
||||||
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
||||||
|
|
||||||
@ -15,10 +15,10 @@
|
|||||||
app, you'll find OAuth credentials for that application under the "OAuth Tool" tab.
|
app, you'll find OAuth credentials for that application under the "OAuth Tool" tab.
|
||||||
Substitute these values for the placeholders below.
|
Substitute these values for the placeholders below.
|
||||||
|
|
||||||
This example assumes basic familiarity with Arduino sketches, and that your Yun
|
This example assumes basic familiarity with Arduino sketches, and that your Yún
|
||||||
is connected to the Internet.
|
is connected to the Internet.
|
||||||
|
|
||||||
Want to use another social API with your Arduino Yun? We've got Facebook,
|
Want to use another social API with your Arduino Yún? We've got Facebook,
|
||||||
Google+, Instagram, Tumblr and more in our Library!
|
Google+, Instagram, Tumblr and more in our Library!
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
SendATweet
|
SendATweet
|
||||||
|
|
||||||
Demonstrates sending a tweet via a Twitter account using Temboo from an Arduino Yun.
|
Demonstrates sending a tweet via a Twitter account using Temboo from an Arduino Yún.
|
||||||
|
|
||||||
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
||||||
|
|
||||||
@ -16,10 +16,10 @@
|
|||||||
for that application under the "OAuth Tool" tab. Substitute these values for
|
for that application under the "OAuth Tool" tab. Substitute these values for
|
||||||
the placeholders below.
|
the placeholders below.
|
||||||
|
|
||||||
This example assumes basic familiarity with Arduino sketches, and that your Yun is connected
|
This example assumes basic familiarity with Arduino sketches, and that your Yún is connected
|
||||||
to the Internet.
|
to the Internet.
|
||||||
|
|
||||||
Want to use another social API with your Arduino Yun? We've got Facebook,
|
Want to use another social API with your Arduino Yún? We've got Facebook,
|
||||||
Google+, Instagram, Tumblr and more in our Library!
|
Google+, Instagram, Tumblr and more in our Library!
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
SendAnEmail
|
SendAnEmail
|
||||||
|
|
||||||
Demonstrates sending an email via a Google Gmail account using Temboo from an Arduino Yun.
|
Demonstrates sending an email via a Google Gmail account using Temboo from an Arduino Yún.
|
||||||
|
|
||||||
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
||||||
|
|
||||||
@ -13,10 +13,10 @@
|
|||||||
Google Gmail account. The sketch needs the username and password you use
|
Google Gmail account. The sketch needs the username and password you use
|
||||||
to log into your Gmail account - substitute the placeholders below for these values.
|
to log into your Gmail account - substitute the placeholders below for these values.
|
||||||
|
|
||||||
This example assumes basic familiarity with Arduino sketches, and that your Yun is connected
|
This example assumes basic familiarity with Arduino sketches, and that your Yún is connected
|
||||||
to the Internet.
|
to the Internet.
|
||||||
|
|
||||||
Looking for another API to use with your Arduino Yun? We've got over 100 in our Library!
|
Looking for another API to use with your Arduino Yún? We've got over 100 in our Library!
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
*/
|
*/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
SendAnSMS
|
SendAnSMS
|
||||||
|
|
||||||
Demonstrates sending an SMS via Twilio using Temboo from an Arduino Yun.
|
Demonstrates sending an SMS via Twilio using Temboo from an Arduino Yún.
|
||||||
|
|
||||||
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
||||||
|
|
||||||
@ -22,10 +22,10 @@
|
|||||||
the instructions under the "Numbers > Verified Caller IDs" tab (this restriction
|
the instructions under the "Numbers > Verified Caller IDs" tab (this restriction
|
||||||
doesn't apply if you have a paid Twilio account).
|
doesn't apply if you have a paid Twilio account).
|
||||||
|
|
||||||
This example assumes basic familiarity with Arduino sketches, and that your Yun is connected
|
This example assumes basic familiarity with Arduino sketches, and that your Yún is connected
|
||||||
to the Internet.
|
to the Internet.
|
||||||
|
|
||||||
Looking for another API to use with your Arduino Yun? We've got over 100 in our Library!
|
Looking for another API to use with your Arduino Yún? We've got over 100 in our Library!
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
*/
|
*/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
SendDataToGoogleSpreadsheet
|
SendDataToGoogleSpreadsheet
|
||||||
|
|
||||||
Demonstrates appending a row of data to a Google spreadsheet using Temboo from an Arduino Yun.
|
Demonstrates appending a row of data to a Google spreadsheet using Temboo from an Arduino Yún.
|
||||||
|
|
||||||
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
||||||
|
|
||||||
@ -13,7 +13,7 @@
|
|||||||
Google account: substitute the placeholders below for your Google account values.
|
Google account: substitute the placeholders below for your Google account values.
|
||||||
|
|
||||||
This example assumes basic familiarity with Arduino sketches, and that your
|
This example assumes basic familiarity with Arduino sketches, and that your
|
||||||
Yun is connected to the Internet.
|
Yún is connected to the Internet.
|
||||||
|
|
||||||
The columns in your spreadsheet must have labels for the Choreo to
|
The columns in your spreadsheet must have labels for the Choreo to
|
||||||
work properly. It doesn't matter what the column labels actually are,
|
work properly. It doesn't matter what the column labels actually are,
|
||||||
@ -29,7 +29,7 @@
|
|||||||
NOTE that the first time you run this sketch, you may receive a warning from
|
NOTE that the first time you run this sketch, you may receive a warning from
|
||||||
Google, prompting you to authorize access from a 3rd party system.
|
Google, prompting you to authorize access from a 3rd party system.
|
||||||
|
|
||||||
Looking for another API to use with your Arduino Yun? We've got over 100 in our Library!
|
Looking for another API to use with your Arduino Yún? We've got over 100 in our Library!
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
SendDataToMySQL
|
SendDataToMySQL
|
||||||
|
|
||||||
Demonstrates storing and reading values in a MySQL database using
|
Demonstrates storing and reading values in a MySQL database using
|
||||||
the Temboo Arduino Yun SDK. This example will periodically
|
the Temboo Arduino Yún SDK. This example will periodically
|
||||||
update a MySQL instance with dummy sensor values from the Yun, and
|
update a MySQL instance with dummy sensor values from the Yún, and
|
||||||
then read those values back from the database.
|
then read those values back from the database.
|
||||||
|
|
||||||
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
||||||
@ -68,10 +68,10 @@
|
|||||||
database if it doesn't already exist. The table contains two columns: an unsigned INT
|
database if it doesn't already exist. The table contains two columns: an unsigned INT
|
||||||
column named "cpu_time" and an INT column named "sensor_value".
|
column named "cpu_time" and an INT column named "sensor_value".
|
||||||
|
|
||||||
This example assumes basic familiarity with Arduino sketches, and that your Yun is connected
|
This example assumes basic familiarity with Arduino sketches, and that your Yún is connected
|
||||||
to the Internet.
|
to the Internet.
|
||||||
|
|
||||||
Looking for another API to use with your Arduino Yun? We've got over 100 in our Library!
|
Looking for another API to use with your Arduino Yún? We've got over 100 in our Library!
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
|
|
||||||
@ -167,9 +167,9 @@ unsigned int createTable() {
|
|||||||
Serial.print("Creating table '" + DATABASE_TABLE_NAME + "' (if needed)...");
|
Serial.print("Creating table '" + DATABASE_TABLE_NAME + "' (if needed)...");
|
||||||
|
|
||||||
// We need a table with columns to contain the cpu time and the sensor value.
|
// We need a table with columns to contain the cpu time and the sensor value.
|
||||||
// cpu time is an 'unsigned long' which is 4 bytes on the Yun,
|
// cpu time is an 'unsigned long' which is 4 bytes on the Yún,
|
||||||
// so an INT UNSIGNED in MySQL will hold any possible value.
|
// so an INT UNSIGNED in MySQL will hold any possible value.
|
||||||
// Our sensor values are 'int' values on the Yun,
|
// Our sensor values are 'int' values on the Yún,
|
||||||
// so an INT in MySQL will hold all possible values.
|
// so an INT in MySQL will hold all possible values.
|
||||||
|
|
||||||
// Create a String containing the SQL statement to create the table.
|
// Create a String containing the SQL statement to create the table.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
ToxicFacilitiesSearch
|
ToxicFacilitiesSearch
|
||||||
|
|
||||||
Demonstrates making a request to the Envirofacts API using Temboo from an Arduino Yun.
|
Demonstrates making a request to the Envirofacts API using Temboo from an Arduino Yún.
|
||||||
This example retrieves the names and addresses of EPA-regulated facilities in the
|
This example retrieves the names and addresses of EPA-regulated facilities in the
|
||||||
Toxins Release Inventory (TRI) database within a given zip code.
|
Toxins Release Inventory (TRI) database within a given zip code.
|
||||||
|
|
||||||
@ -11,10 +11,10 @@
|
|||||||
If you don't already have one, you can register for a free Temboo account at
|
If you don't already have one, you can register for a free Temboo account at
|
||||||
http://www.temboo.com
|
http://www.temboo.com
|
||||||
|
|
||||||
This example assumes basic familiarity with Arduino sketches, and that your Yun is connected
|
This example assumes basic familiarity with Arduino sketches, and that your Yún is connected
|
||||||
to the Internet.
|
to the Internet.
|
||||||
|
|
||||||
Looking for another API to use with your Arduino Yun? We've got over 100 in our Library!
|
Looking for another API to use with your Arduino Yún? We've got over 100 in our Library!
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
*/
|
*/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
UpdateFacebookStatus
|
UpdateFacebookStatus
|
||||||
|
|
||||||
Demonstrates sending a Facebook status update using Temboo from an Arduino Yun.
|
Demonstrates sending a Facebook status update using Temboo from an Arduino Yún.
|
||||||
|
|
||||||
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
||||||
|
|
||||||
@ -15,10 +15,10 @@
|
|||||||
to use our OAuth Wizard (or OAuth Choreos) to obtain a Facebook access token.
|
to use our OAuth Wizard (or OAuth Choreos) to obtain a Facebook access token.
|
||||||
Substitute your access token for the placeholder value of FACEBOOK_ACCESS_TOKEN below.
|
Substitute your access token for the placeholder value of FACEBOOK_ACCESS_TOKEN below.
|
||||||
|
|
||||||
This example assumes basic familiarity with Arduino sketches, and that your Yun
|
This example assumes basic familiarity with Arduino sketches, and that your Yún
|
||||||
is connected to the Internet.
|
is connected to the Internet.
|
||||||
|
|
||||||
Want to use another social API with your Arduino Yun? We've got Twitter, Google+,
|
Want to use another social API with your Arduino Yún? We've got Twitter, Google+,
|
||||||
Instagram, Tumblr and more in our Library!
|
Instagram, Tumblr and more in our Library!
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
UploadToDropbox
|
UploadToDropbox
|
||||||
|
|
||||||
Demonstrates uploading a file to a Dropbox account using Temboo from an Arduino Yun.
|
Demonstrates uploading a file to a Dropbox account using Temboo from an Arduino Yún.
|
||||||
|
|
||||||
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
Check out the latest Arduino & Temboo examples and support docs at http://www.temboo.com/arduino
|
||||||
|
|
||||||
@ -21,10 +21,10 @@
|
|||||||
https://www.temboo.com/library/Library/Dropbox/OAuth/ to run the Initialize and Finalize
|
https://www.temboo.com/library/Library/Dropbox/OAuth/ to run the Initialize and Finalize
|
||||||
OAuth Choreos. These Choreos complete the OAuth handshake and retrieve your Dropbox OAuth access tokens.
|
OAuth Choreos. These Choreos complete the OAuth handshake and retrieve your Dropbox OAuth access tokens.
|
||||||
|
|
||||||
This example assumes basic familiarity with Arduino sketches, and that your Yun is connected
|
This example assumes basic familiarity with Arduino sketches, and that your Yún is connected
|
||||||
to the Internet.
|
to the Internet.
|
||||||
|
|
||||||
Looking for another API to use with your Arduino Yun? We've got over 100 in our Library!
|
Looking for another API to use with your Arduino Yún? We've got over 100 in our Library!
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
*/
|
*/
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#include <YunServer.h>
|
#include <YunServer.h>
|
||||||
#include <YunClient.h>
|
#include <YunClient.h>
|
||||||
|
|
||||||
// Listen on default port 5555, the webserver on the Yun
|
// Listen on default port 5555, the webserver on the Yún
|
||||||
// will forward there all the HTTP requests for us.
|
// will forward there all the HTTP requests for us.
|
||||||
YunServer server;
|
YunServer server;
|
||||||
String startString;
|
String startString;
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Time Check
|
Time Check
|
||||||
|
|
||||||
Gets the time from the linino processor via Bridge
|
Gets the time from Linux via Bridge then parses out hours,
|
||||||
then parses out hours, minutes and seconds for the Arduino
|
minutes and seconds for the Arduino using an Arduino Yún.
|
||||||
using an Arduino Yún.
|
|
||||||
|
|
||||||
created 27 May 2013
|
created 27 May 2013
|
||||||
modified 21 June 2013
|
modified 21 June 2013
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
/*
|
/*
|
||||||
Arduino Yun USB-to-Serial
|
Arduino Yún USB-to-Serial
|
||||||
|
|
||||||
Allows you to use the Yun's 32U4 processor as a
|
Allows you to use the Yún's 32U4 processor as a
|
||||||
serial terminal for the linino processor.
|
serial terminal for the Linux side on the Yún.
|
||||||
|
|
||||||
Upload this to an Arduino Yun via serial (not WiFi)
|
Upload this to an Arduino Yún via serial (not WiFi) then open
|
||||||
then open the serial monitor at 115200 to see the boot process
|
the serial monitor at 115200 to see the boot process of Linux.
|
||||||
of the linino processor. You can also use the serial monitor
|
You can also use the serial monitor as a basic command line
|
||||||
as a basic command line interface for the linino processor using
|
interface for Linux using this sketch.
|
||||||
this sketch.
|
|
||||||
|
|
||||||
From the serial monitor the following commands can be issued:
|
From the serial monitor the following commands can be issued:
|
||||||
|
|
||||||
@ -20,7 +19,7 @@
|
|||||||
obtain the console.
|
obtain the console.
|
||||||
|
|
||||||
The circuit:
|
The circuit:
|
||||||
* Arduino Yun
|
* Arduino Yún
|
||||||
|
|
||||||
created March 2013
|
created March 2013
|
||||||
by Massimo Banzi
|
by Massimo Banzi
|
||||||
@ -33,11 +32,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
long lininoBaud = 250000;
|
long linuxBaud = 250000;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(115200); // open serial connection via USB-Serial
|
Serial.begin(115200); // open serial connection via USB-Serial
|
||||||
Serial1.begin(lininoBaud); // open serial connection to Linino
|
Serial1.begin(linuxBaud); // open serial connection to Linux
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean commandMode = false;
|
boolean commandMode = false;
|
||||||
|
@ -2,7 +2,7 @@ name=Bridge
|
|||||||
version=1.0
|
version=1.0
|
||||||
author=Arduino
|
author=Arduino
|
||||||
maintainer=Arduino <info@arduino.cc>
|
maintainer=Arduino <info@arduino.cc>
|
||||||
sentence=The library to use the Arduino YUN. The Bridge library create a link between the 32U4 and the AR9331 enabling to control most of the linux features from the sketch.
|
sentence=The library to use the Arduino Yún. The Bridge library create a link between the 32U4 and the AR9331 enabling to control most of the linux features from the sketch.
|
||||||
paragraph=The Bridge library feature: access to the shared storage, run and manage linux processes, open a remote console, access to the linux file system, including the SD card, enstablish http clients or servers.
|
paragraph=The Bridge library feature: access to the shared storage, run and manage linux processes, open a remote console, access to the linux file system, including the SD card, enstablish http clients or servers.
|
||||||
url=http://arduino.cc/en/Reference/YunBridgeLibrary
|
url=http://arduino.cc/en/Reference/YunBridgeLibrary
|
||||||
architectures=*
|
architectures=*
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
name=SpacebrewYun
|
name=SpacebrewYun
|
||||||
author=Julio Terra
|
author=Julio Terra
|
||||||
email=julioterra@gmail.com
|
email=julioterra@gmail.com
|
||||||
sentence=Easily connect the Arduino Yun to Spacebrew
|
sentence=Easily connect the Arduino Yún to Spacebrew
|
||||||
paragraph=This library was developed to enable you to easily connect the Arduino Yun to Spacebrew. To learn more about Spacebrew visit Spacebrew.cc
|
paragraph=This library was developed to enable you to easily connect the Arduino Yún to Spacebrew. To learn more about Spacebrew visit Spacebrew.cc
|
||||||
url=https://github.com/julioterra/yunSpacebrew
|
url=https://github.com/julioterra/yunSpacebrew
|
||||||
architectures=avr
|
architectures=avr
|
||||||
version=1.0
|
version=1.0
|
||||||
|
@ -299,7 +299,7 @@ void SpacebrewYun::monitor() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if received confirmation that linino received messages
|
// check if received confirmation that Linux received messages
|
||||||
if (publishers != NULL && _connected) {
|
if (publishers != NULL && _connected) {
|
||||||
struct Publisher *curr = publishers;
|
struct Publisher *curr = publishers;
|
||||||
while((curr != NULL)){
|
while((curr != NULL)){
|
||||||
@ -421,7 +421,7 @@ void SpacebrewYun::send(const String& name, const String& value){
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* method that gets the pid of all spacebrew.py instances running on the linino.
|
* method that gets the pid of all spacebrew.py instances running on Linux.
|
||||||
*/
|
*/
|
||||||
void SpacebrewYun::getPids() {
|
void SpacebrewYun::getPids() {
|
||||||
|
|
||||||
@ -462,7 +462,7 @@ void SpacebrewYun::getPids() {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* method that kills all of the spacebrew.py instances that are running
|
* method that kills all of the spacebrew.py instances that are running
|
||||||
* on the linino.
|
* on Linux.
|
||||||
*/
|
*/
|
||||||
void SpacebrewYun::killPids() {
|
void SpacebrewYun::killPids() {
|
||||||
getPids();
|
getPids();
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
name=Temboo
|
name=Temboo
|
||||||
author=Temboo
|
author=Temboo
|
||||||
email=support@temboo.com
|
email=support@temboo.com
|
||||||
sentence=This library enables calls to Temboo, a platform that connects the Yun to 100+ APIs.
|
sentence=This library enables calls to Temboo, a platform that connects the Yún to 100+ APIs.
|
||||||
paragraph=Temboo is a platform that provides normalized access to 100+ APIs, databases, code utilities and more. This library enables the Yun to connect to Temboo, making it simple to interact with a vast array of web-based resources and services.
|
paragraph=Temboo is a platform that provides normalized access to 100+ APIs, databases, code utilities and more. This library enables the Yún to connect to Temboo, making it simple to interact with a vast array of web-based resources and services.
|
||||||
url=http://www.temboo.com
|
url=http://www.temboo.com
|
||||||
architectures=avr
|
architectures=avr
|
||||||
version=1.0
|
version=1.0
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
# Temboo Arduino Yun library
|
# Temboo Arduino Yún library
|
||||||
#
|
#
|
||||||
# Copyright 2013, Temboo Inc.
|
# Copyright 2013, Temboo Inc.
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
# Temboo Arduino Yun library
|
# Temboo Arduino Yún library
|
||||||
#
|
#
|
||||||
# Copyright 2013, Temboo Inc.
|
# Copyright 2013, Temboo Inc.
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user