1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Corrected typos: Yun -> Yún

This commit is contained in:
Federico Fissore
2014-05-30 12:17:09 +02:00
parent 74b853bf99
commit c387f87329
30 changed files with 82 additions and 84 deletions

View File

@ -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
on the board through REST calls. It demonstrates how
you can create your own API when using REST style
@ -26,7 +26,7 @@
#include <YunServer.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.
YunServer server;

View File

@ -2,7 +2,7 @@
Console Pixel
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
receives the character 'L'.

View File

@ -1,5 +1,5 @@
/*
Yun HTTP Client
Yún HTTP Client
This example for the Arduino Yún shows how create a basic
HTTP client that connects to the internet and downloads

View File

@ -2,13 +2,13 @@
Running shell commands using Process class.
This sketch demonstrate how to run linux shell commands
using an Arduino Yún. It runs the wifiCheck script on the linino side
of the Yun, then uses grep to get just the signal strength line.
using an Arduino Yún. It runs the wifiCheck script on the Linux side
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,
and finally uses that number to fade an LED using analogWrite().
The circuit:
* Arduino Yun with LED connected to pin 9
* Arduino Yún with LED connected to pin 9
created 12 Jun 2013
by Cristian Maglie

View File

@ -5,7 +5,7 @@
spacebrew data types, and a custom data type. Every time data is
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.
The circuit:

View File

@ -7,11 +7,11 @@
is sent. The sketch also accepts analog range messages from
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.
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
by Julio Terra

View File

@ -7,11 +7,11 @@
message is sent. The sketch also accepts analog range messages from
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.
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.
created 2013

View File

@ -5,7 +5,7 @@
to and from Spacebrew. Every time string data is 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.
The circuit:

View File

@ -2,9 +2,9 @@
ControlBySMS
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
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
@ -44,7 +44,7 @@
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.
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)
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.
int LED_PIN = 13;
@ -106,7 +106,7 @@ void setup() {
// start with the LED off
digitalWrite(LED_PIN, LOW);
// initialize the connection to the Linino processor.
// initialize the connection to Linux.
Bridge.begin();
// 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,
// (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
// memory on the Arduino side of the Yun.
// memory on the Arduino side of the Yún.
ListMessagesChoreo.addInput("PageSize", "3");
// We want the response in XML format to process with our

View File

@ -1,7 +1,7 @@
/*
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
@ -9,10 +9,10 @@
If you don't already have one, you can register for a free Temboo account at
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.
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.
*/

View File

@ -2,7 +2,7 @@
ReadATweet
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
@ -15,10 +15,10 @@
app, you'll find OAuth credentials for that application under the "OAuth Tool" tab.
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.
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!
This example code is in the public domain.

View File

@ -1,7 +1,7 @@
/*
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
@ -16,10 +16,10 @@
for that application under the "OAuth Tool" tab. Substitute these values for
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.
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!
This example code is in the public domain.

View File

@ -1,7 +1,7 @@
/*
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
@ -13,10 +13,10 @@
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.
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.
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.
*/

View File

@ -1,7 +1,7 @@
/*
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
@ -22,10 +22,10 @@
the instructions under the "Numbers > Verified Caller IDs" tab (this restriction
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.
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.
*/

View File

@ -1,7 +1,7 @@
/*
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
@ -13,7 +13,7 @@
Google account: substitute the placeholders below for your Google account values.
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
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
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.

View File

@ -2,8 +2,8 @@
SendDataToMySQL
Demonstrates storing and reading values in a MySQL database using
the Temboo Arduino Yun SDK. This example will periodically
update a MySQL instance with dummy sensor values from the Yun, and
the Temboo Arduino Yún SDK. This example will periodically
update a MySQL instance with dummy sensor values from the Yún, and
then read those values back from the database.
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
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.
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.
@ -167,9 +167,9 @@ unsigned int createTable() {
Serial.print("Creating table '" + DATABASE_TABLE_NAME + "' (if needed)...");
// 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.
// 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.
// Create a String containing the SQL statement to create the table.

View File

@ -1,7 +1,7 @@
/*
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
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
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.
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.
*/

View File

@ -1,7 +1,7 @@
/*
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
@ -15,10 +15,10 @@
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.
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.
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!
This example code is in the public domain.

View File

@ -1,7 +1,7 @@
/*
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
@ -21,10 +21,10 @@
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.
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.
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.
*/

View File

@ -37,7 +37,7 @@
#include <YunServer.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.
YunServer server;
String startString;

View File

@ -1,9 +1,8 @@
/*
Time Check
Gets the time from the linino processor via Bridge
then parses out hours, minutes and seconds for the Arduino
using an Arduino Yún.
Gets the time from Linux via Bridge then parses out hours,
minutes and seconds for the Arduino using an Arduino Yún.
created 27 May 2013
modified 21 June 2013

View File

@ -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
serial terminal for the linino processor.
Allows you to use the Yún's 32U4 processor as a
serial terminal for the Linux side on the Yún.
Upload this to an Arduino Yun via serial (not WiFi)
then open the serial monitor at 115200 to see the boot process
of the linino processor. You can also use the serial monitor
as a basic command line interface for the linino processor using
this sketch.
Upload this to an Arduino Yún via serial (not WiFi) then open
the serial monitor at 115200 to see the boot process of Linux.
You can also use the serial monitor as a basic command line
interface for Linux using this sketch.
From the serial monitor the following commands can be issued:
@ -20,7 +19,7 @@
obtain the console.
The circuit:
* Arduino Yun
* Arduino Yún
created March 2013
by Massimo Banzi
@ -33,11 +32,11 @@
*/
long lininoBaud = 250000;
long linuxBaud = 250000;
void setup() {
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;