mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-30 19:52:13 +01:00
Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x
This commit is contained in:
commit
1fe82d847c
@ -1,32 +1,37 @@
|
|||||||
Arduino is an open-source physical computing platform based on a simple i/o
|
Arduino
|
||||||
|
========
|
||||||
|
|
||||||
|
* Arduino is an open-source physical computing platform based on a simple i/o
|
||||||
board and a development environment that implements the Processing/Wiring
|
board and a development environment that implements the Processing/Wiring
|
||||||
language. Arduino can be used to develop stand-alone interactive objects or
|
language. Arduino can be used to develop stand-alone interactive objects or
|
||||||
can be connected to software on your computer (e.g. Flash, Processing, MaxMSP).
|
can be connected to software on your computer (e.g. Flash, Processing, MaxMSP).
|
||||||
The boards can be assembled by hand or purchased preassembled; the open-source
|
The boards can be assembled by hand or purchased preassembled; the open-source
|
||||||
IDE can be downloaded for free.
|
IDE can be downloaded for free.
|
||||||
|
|
||||||
For more information, see the website at: http://www.arduino.cc/
|
* For more information, see the website at: http://www.arduino.cc/
|
||||||
or the forums at: http://arduino.cc/forum/
|
or the forums at: http://arduino.cc/forum/
|
||||||
|
|
||||||
To report a *bug* in the software or to request *a simple enhancement* go to:
|
* To report a *bug* in the software or to request *a simple enhancement* go to:
|
||||||
http://github.com/arduino/Arduino/issues
|
http://github.com/arduino/Arduino/issues
|
||||||
|
|
||||||
More complex requests and technical discussion should go on the Arduino Developers
|
* More complex requests and technical discussion should go on the Arduino Developers
|
||||||
mailing list:
|
mailing list:
|
||||||
https://groups.google.com/a/arduino.cc/forum/#!forum/developers
|
https://groups.google.com/a/arduino.cc/forum/#!forum/developers
|
||||||
|
|
||||||
If you're interested in modifying or extending the Arduino software, we strongly
|
* If you're interested in modifying or extending the Arduino software, we strongly
|
||||||
suggest discussing your ideas on the Developers mailing list *before* starting
|
suggest discussing your ideas on the Developers mailing list *before* starting
|
||||||
to work on them. That way you can coordinate with the Arduino Team and others,
|
to work on them. That way you can coordinate with the Arduino Team and others,
|
||||||
giving your work a higher chance of being integrated into the official release
|
giving your work a higher chance of being integrated into the official release
|
||||||
https://groups.google.com/a/arduino.cc/forum/#!forum/developers
|
https://groups.google.com/a/arduino.cc/forum/#!forum/developers
|
||||||
|
|
||||||
INSTALLATION
|
INSTALLATION
|
||||||
|
------------
|
||||||
Detailed instructions are in reference/Guide_Windows.html and
|
Detailed instructions are in reference/Guide_Windows.html and
|
||||||
reference/Guide_MacOSX.html. For Linux, see the Arduino playground:
|
reference/Guide_MacOSX.html. For Linux, see the Arduino playground:
|
||||||
http://www.arduino.cc/playground/Learning/Linux
|
http://www.arduino.cc/playground/Learning/Linux
|
||||||
|
|
||||||
CREDITS
|
CREDITS
|
||||||
|
--------
|
||||||
Arduino is an open source project, supported by many.
|
Arduino is an open source project, supported by many.
|
||||||
|
|
||||||
The Arduino team is composed of Massimo Banzi, David Cuartielles, Tom Igoe,
|
The Arduino team is composed of Massimo Banzi, David Cuartielles, Tom Igoe,
|
@ -55,6 +55,7 @@ void loop() {
|
|||||||
size(256, 150);
|
size(256, 150);
|
||||||
|
|
||||||
println("Available serial ports:");
|
println("Available serial ports:");
|
||||||
|
// if using Processing 2.1 or later, use Serial.printArray()
|
||||||
println(Serial.list());
|
println(Serial.list());
|
||||||
|
|
||||||
// Uses the first port in this list (number 0). Change this to
|
// Uses the first port in this list (number 0). Change this to
|
||||||
|
@ -63,13 +63,17 @@ void loop() {
|
|||||||
size(400, 300);
|
size(400, 300);
|
||||||
|
|
||||||
// List all the available serial ports
|
// List all the available serial ports
|
||||||
|
// if using Processing 2.1 or later, use Serial.printArray()
|
||||||
println(Serial.list());
|
println(Serial.list());
|
||||||
|
|
||||||
// I know that the first port in the serial list on my mac
|
// I know that the first port in the serial list on my mac
|
||||||
// is always my Arduino, so I open Serial.list()[0].
|
// is always my Arduino, so I open Serial.list()[0].
|
||||||
// Open whatever port is the one you're using.
|
// Open whatever port is the one you're using.
|
||||||
myPort = new Serial(this, Serial.list()[0], 9600);
|
myPort = new Serial(this, Serial.list()[0], 9600);
|
||||||
|
|
||||||
// don't generate a serialEvent() unless you get a newline character:
|
// don't generate a serialEvent() unless you get a newline character:
|
||||||
myPort.bufferUntil('\n');
|
myPort.bufferUntil('\n');
|
||||||
|
|
||||||
// set inital background:
|
// set inital background:
|
||||||
background(0);
|
background(0);
|
||||||
}
|
}
|
||||||
|
@ -84,6 +84,7 @@ void loop() {
|
|||||||
// You will need to choose the port that the Arduino board is
|
// You will need to choose the port that the Arduino board is
|
||||||
// connected to from this list. The first port in the list is
|
// connected to from this list. The first port in the list is
|
||||||
// port #0 and the third port in the list is port #2.
|
// port #0 and the third port in the list is port #2.
|
||||||
|
// if using Processing 2.1 or later, use Serial.printArray()
|
||||||
println(Serial.list());
|
println(Serial.list());
|
||||||
|
|
||||||
// Open the port that the Arduino board is connected to (in this case #0)
|
// Open the port that the Arduino board is connected to (in this case #0)
|
||||||
|
@ -92,7 +92,8 @@ void setup() {
|
|||||||
xpos = width/2;
|
xpos = width/2;
|
||||||
ypos = height/2;
|
ypos = height/2;
|
||||||
|
|
||||||
// Print a list of the serial ports, for debugging purposes:
|
// Print a list of the serial ports for debugging purposes
|
||||||
|
// if using Processing 2.1 or later, use Serial.printArray()
|
||||||
println(Serial.list());
|
println(Serial.list());
|
||||||
|
|
||||||
// I know that the first port in the serial list on my mac
|
// I know that the first port in the serial list on my mac
|
||||||
|
@ -91,6 +91,7 @@ void setup() {
|
|||||||
size(640,480);
|
size(640,480);
|
||||||
|
|
||||||
// List all the available serial ports
|
// List all the available serial ports
|
||||||
|
// if using Processing 2.1 or later, use Serial.printArray()
|
||||||
println(Serial.list());
|
println(Serial.list());
|
||||||
|
|
||||||
// I know that the first port in the serial list on my mac
|
// I know that the first port in the serial list on my mac
|
||||||
|
@ -50,7 +50,9 @@ void loop()
|
|||||||
size(200, 200);
|
size(200, 200);
|
||||||
|
|
||||||
// List all the available serial ports
|
// List all the available serial ports
|
||||||
|
// if using Processing 2.1 or later, use Serial.printArray()
|
||||||
println(Serial.list());
|
println(Serial.list());
|
||||||
|
|
||||||
// I know that the first port in the serial list on my mac
|
// I know that the first port in the serial list on my mac
|
||||||
// is always my Arduino, so I open Serial.list()[0].
|
// is always my Arduino, so I open Serial.list()[0].
|
||||||
// Open whatever port is the one you're using.
|
// Open whatever port is the one you're using.
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
by David A. Mellis
|
by David A. Mellis
|
||||||
modified 9 Apr 2012
|
modified 9 Apr 2012
|
||||||
by Tom Igoe
|
by Tom Igoe
|
||||||
|
modified 2 Feb 2014
|
||||||
|
by Scott Fitzgerald
|
||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
|
|
||||||
@ -39,7 +41,7 @@ void setup()
|
|||||||
// or the SD library functions will not work.
|
// or the SD library functions will not work.
|
||||||
pinMode(10, OUTPUT);
|
pinMode(10, OUTPUT);
|
||||||
|
|
||||||
if (!SD.begin(10)) {
|
if (!SD.begin(4)) {
|
||||||
Serial.println("initialization failed!");
|
Serial.println("initialization failed!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user