1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-25 06:22:11 +03:00

update AVR src

* java code not tested *

Merge remote-tracking branch 'remotes/arduino/master' into esp8266

Conflicts:
	README.md
	app/src/processing/app/AbstractMonitor.java
	arduino-core/src/processing/app/Serial.java
	libraries/WiFi/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino
	libraries/WiFi/library.properties
This commit is contained in:
Markus Sattler
2015-06-17 14:22:59 +02:00
390 changed files with 5510 additions and 12573 deletions

View File

@ -5,7 +5,7 @@
Most Arduinos have an on-board LED you can control. On the Uno and
Leonardo, it is attached to digital pin 13. If you're unsure what
pin the on-board LED is connected to on your Arduino model, check
the documentation at http://arduino.cc
the documentation at http://www.arduino.cc
This example code is in the public domain.

View File

@ -21,7 +21,7 @@
This example code is in the public domain.
http://arduino.cc/en/Tutorial/ButtonStateChange
http://www.arduino.cc/en/Tutorial/ButtonStateChange
*/

View File

@ -14,7 +14,7 @@
This example code is in the public domain.
http://arduino.cc/en/Tutorial/Tone3
http://www.arduino.cc/en/Tutorial/Tone3
*/

View File

@ -12,7 +12,7 @@
This example code is in the public domain.
http://arduino.cc/en/Tutorial/Tone
http://www.arduino.cc/en/Tutorial/Tone
*/
#include "pitches.h"

View File

@ -12,7 +12,7 @@
This example code is in the public domain.
http://arduino.cc/en/Tutorial/Tone4
http://www.arduino.cc/en/Tutorial/Tone4
*/

View File

@ -14,7 +14,7 @@
This example code is in the public domain.
http://arduino.cc/en/Tutorial/Tone2
http://www.arduino.cc/en/Tutorial/Tone2
*/

View File

@ -23,7 +23,7 @@
This example code is in the public domain.
http://arduino.cc/en/Tutorial/AnalogInput
http://www.arduino.cc/en/Tutorial/AnalogInput
*/

View File

@ -20,7 +20,7 @@
modified 30 Aug 2011
By Tom Igoe
http://arduino.cc/en/Tutorial/Calibration
http://www.arduino.cc/en/Tutorial/Calibration
This example code is in the public domain.

View File

@ -11,7 +11,7 @@
modified 30 Aug 2011
By Tom Igoe
http://arduino.cc/en/Tutorial/Fading
http://www.arduino.cc/en/Tutorial/Fading
This example code is in the public domain.

View File

@ -28,6 +28,7 @@ void setup() {
}
void loop() {
serialEvent(); //call the function
// print the string when a newline arrives:
if (stringComplete) {
Serial.println(inputString);

View File

@ -21,7 +21,7 @@
This example code is in the public domain.
http://arduino.cc/en/Tutorial/IfStatement
http://www.arduino.cc/en/Tutorial/IfStatement
*/

View File

@ -22,7 +22,7 @@
This example code is in the public domain.
http://arduino.cc/en/Tutorial/WhileLoop
http://www.arduino.cc/en/Tutorial/WhileLoop
*/

View File

@ -8,7 +8,7 @@
modified 2 Apr 2012
by Tom Igoe
http://arduino.cc/en/Tutorial/StringAdditionOperator
http://www.arduino.cc/en/Tutorial/StringAdditionOperator
This example code is in the public domain.
*/

View File

@ -7,7 +7,7 @@
modified 2 Apr 2012
by Tom Igoe
http://arduino.cc/en/Tutorial/StringAppendOperator
http://www.arduino.cc/en/Tutorial/StringAppendOperator
This example code is in the public domain.
*/

View File

@ -7,7 +7,7 @@
modified 2 Apr 2012
by Tom Igoe
http://arduino.cc/en/Tutorial/StringCaseChanges
http://www.arduino.cc/en/Tutorial/StringCaseChanges
This example code is in the public domain.
*/

View File

@ -7,7 +7,7 @@
modified 2 Apr 2012
by Tom Igoe
http://arduino.cc/en/Tutorial/StringCharacters
http://www.arduino.cc/en/Tutorial/StringCharacters
This example code is in the public domain.
*/

View File

@ -7,7 +7,7 @@
modified 2 Apr 2012
by Tom Igoe
http://arduino.cc/en/Tutorial/StringComparisonOperators
http://www.arduino.cc/en/Tutorial/StringComparisonOperators
This example code is in the public domain.
*/

View File

@ -7,7 +7,7 @@
modified 30 Aug 2011
by Tom Igoe
http://arduino.cc/en/Tutorial/StringConstructors
http://www.arduino.cc/en/Tutorial/StringConstructors
This example code is in the public domain.
*/
@ -66,6 +66,14 @@ void loop() {
// prints "123456" or whatever the value of millis() is:
Serial.println(stringOne);
//using a float and the right decimal places:
stringOne = String(5.698, 3);
Serial.println(stringOne);
//using a float and less decimal places to use rounding:
stringOne = String(5.698, 2);
Serial.println(stringOne);
// do nothing while true:
while (true);

View File

@ -7,7 +7,7 @@
modified 2 Apr 2012
by Tom Igoe
http://arduino.cc/en/Tutorial/StringIndexOf
http://www.arduino.cc/en/Tutorial/StringIndexOf
This example code is in the public domain.
*/

View File

@ -7,7 +7,7 @@
created 1 Aug 2010
by Tom Igoe
http://arduino.cc/en/Tutorial/StringLengthTrim
http://www.arduino.cc/en/Tutorial/StringLengthTrim
This example code is in the public domain.
*/

View File

@ -7,7 +7,7 @@
modified 2 Apr 2012
by Tom Igoe
http://arduino.cc/en/Tutorial/StringLengthTrim
http://www.arduino.cc/en/Tutorial/StringLengthTrim
This example code is in the public domain.
*/

View File

@ -7,7 +7,7 @@
modified 2 Apr 2012
by Tom Igoe
http://arduino.cc/en/Tutorial/StringReplace
http://www.arduino.cc/en/Tutorial/StringReplace
This example code is in the public domain.
*/

View File

@ -7,7 +7,7 @@
modified 2 Apr 2012
by Tom Igoe
http://arduino.cc/en/Tutorial/StringStartsWithEndsWith
http://www.arduino.cc/en/Tutorial/StringStartsWithEndsWith
This example code is in the public domain.
*/

View File

@ -7,7 +7,7 @@
modified 2 Apr 2012
by Zach Eveland
http://arduino.cc/en/Tutorial/StringSubstring
http://www.arduino.cc/en/Tutorial/StringSubstring
This example code is in the public domain.
*/

View File

@ -15,7 +15,7 @@
Created 13 September 2012
by Scott Fitzgerald
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/

View File

@ -13,7 +13,7 @@
Created 13 September 2012
by Scott Fitzgerald
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/
@ -60,7 +60,7 @@ void loop() {
// if the current temperature is lower than the baseline
// turn off all LEDs
if (temperature < baselineTemp) {
if (temperature < baselineTemp + 2) {
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, LOW);

View File

@ -17,7 +17,7 @@
by Scott Fitzgerald
Thanks to Federico Vanzati for improvements
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/

View File

@ -13,7 +13,7 @@
Created 13 September 2012
by Scott Fitzgerald
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/

View File

@ -13,7 +13,7 @@
Created 13 September 2012
by Scott Fitzgerald
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/

View File

@ -15,7 +15,7 @@
Created 13 September 2012
by Scott Fitzgerald
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/

View File

@ -14,7 +14,7 @@
Created 13 September 2012
by Scott Fitzgerald
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/

View File

@ -16,7 +16,7 @@
Created 13 September 2012
by Scott Fitzgerald
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/

View File

@ -17,7 +17,7 @@
by Scott Fitzgerald
Thanks to Federico Vanzati for improvements
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/

View File

@ -16,7 +16,7 @@
Created 13 September 2012
by Scott Fitzgerald
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/

View File

@ -21,7 +21,7 @@
by Scott Fitzgerald
Thanks to Federico Vanzati for improvements
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/
@ -140,6 +140,8 @@ void loop() {
digitalWrite(greenLed, HIGH);
digitalWrite(redLed, LOW);
Serial.println("the box is unlocked!");
numberOfKnocks = 0;
}
}
}

View File

@ -13,12 +13,12 @@
Software required :
CapacitiveSensor library by Paul Badger
http://arduino.cc/playground/Main/CapacitiveSensor
http://www.arduino.cc/playground/Main/CapacitiveSensor
Created 18 September 2012
by Scott Fitzgerald
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/

View File

@ -15,7 +15,7 @@
Created 18 September 2012
by Scott Fitzgerald
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/
@ -55,7 +55,7 @@ void loop() {
colorMode(HSB, 255);
// load the Arduino logo into the PImage instance
logo = loadImage("http://arduino.cc/en/pub/skins/arduinoWide/img/logo.png");
logo = loadImage("http://www.arduino.cc/en/pub/skins/arduinoWide/img/logo.png");
// make the window the same size as the image
size(logo.width, logo.height);

View File

@ -13,7 +13,7 @@
Created 18 September 2012
by Scott Fitzgerald
http://arduino.cc/starterKit
http://www.arduino.cc/starterKit
This example code is part of the public domain
*/

View File

@ -67,6 +67,7 @@ public LITERAL2 RESERVED_WORD_2
short LITERAL2 RESERVED_WORD_2
signed LITERAL2 RESERVED_WORD_2
static LITERAL2 Static RESERVED_WORD_2
goto LITERAL2 RESERVED_WORD_2
String LITERAL2 String RESERVED_WORD_2
void LITERAL2 Void RESERVED_WORD_2
true LITERAL2 LITERAL_BOOLEAN

View File

@ -97,10 +97,11 @@ editor.literal1.style = #006699,plain
editor.literal2.style = #00979C,plain
editor.variable.style = #00979C,plain
editor.reserved_word_2.style = #00979C,plain
editor.literal_boolean.style = #00979C,plain
editor.literal_char.style = #00979C,plain
editor.literal_string_double_quote.style = #00979C,plain
# http://arduino.cc/
# http://www.arduino.cc/
editor.url.style = #0000ff,underlined
# e.g. + - = /

View File

@ -27,7 +27,7 @@ SYNOPSIS
*arduino* [*--verify*|*--upload*] [*--board* __package__:__arch__:__board__[:__parameters__]] [*--port* __portname__] [*--pref* __name__=__value__] [*-v*|*--verbose*] [--preserve-temp-files] [__FILE.ino__]
*arduino* [*--get-pref* __preference__]
*arduino* [*--get-pref* [__preference__]]
*arduino* [*--install-boards* __package name__:__platform architecture__[:__version__]]
@ -63,10 +63,11 @@ ACTIONS
*--upload*::
Build and upload the sketch.
*--get-pref* __preference__::
*--get-pref* [__preference__]::
Prints the value of the given preference to the standard output
stream. When the value does not exist, nothing is printed and
the exit status is set (see EXIT STATUS below).
If no preference is given as parameter, it prints all preferences.
*--install-boards* __package name__:__platform architecture__[:__version__]::
Fetches available board support (platform) list and install the specified one, along with its related tools. If __version__ is omitted, the latest is installed. If a platform with the same version is already installed, nothing is installed and program exits with exit code 1. If a platform with a different version is already installed, it's replaced.
@ -333,7 +334,7 @@ HISTORY
RESOURCES
---------
Web site: <http://arduino.cc/>
Web site: <http://www.arduino.cc/>
Help on projects and programming: <http://forum.arduino.cc/>

View File

@ -1,4 +1,11 @@
ARDUINO 1.6.5
ARDUINO 1.6.6
ARDUINO 1.6.5-r2 - 2015.06.17
[ide]
* Windows: fixed a problem that prevented opening the IDE when double clicking a .ino file
ARDUINO 1.6.5 - 2015.06.15
[ide]
* File, Sketch and Tools menu items are properly handled when switching between different windows
@ -6,12 +13,41 @@ ARDUINO 1.6.5
* New editor, based on RSyntaxTextArea. Thanks @ricardojlrufino
* New keywords. Thanks @Chris--A
* Easier "additional boards manager url" field: a wide text area opens by clicking the added button (right side of the text field)
* Rewritten code of Preferences window: its content is now correctly drawn on every OS
* Fixed a bug that made the IDE notify users of invalid libraries too many times. Thanks @Chris--A
* Removed JNA. Less native stuff and less chances of incurring into an UnsatisfiedLinkError
* Many new and old issues closed. Thanks to many, and @Chris--A in particular
* Faster libraries list update
* Serial monitor stays opened during upload, disabled. Thanks @avishorp and @Wackerbarth
* CLI: --get-pref can now be called without a pref name. If pref name is missing, IDE dumps all preferences
* Holding SHIFT when hovering the save icon will trigger a "Save As"
* Removed proxy settings from File > Preferences: IDE will use system settings
* Linux versions bundle the latest JVM, 1.8.0_45
* Local docs: if your sketch has a "docs" folder, you can add local links to it. For example file://./docs/index.html
will use your browser to open file index.html from the "docs" folder of your sketch
* When using "external editor" mode, sketch code is updated when the IDE gets focused
* Added keyboard shortcuts to IDE menus: ALT+F for File, ALT+E for Edit and so on
* Added support for Dangerous Prototypes Bus Pirate as ISP
* Added "Close" button to Boards/Libs Managers, in order to help linux people with weird Window Managers
* Added File > Open Recent menu, showing the last 5 opened sketches
* Windows: added Arduino Zero drivers
* Tons of minor fixes
[libraries]
* LiquidCrystal fixes. Thanks @newbie15
* Added SPI Transactions to TFT lib
* Stepper: support for 5-phase/5-wires motors. Thanks @rdodesigns
* Stepper: increased precision in timing calculations. Thanks @ekozlenko
* Firmata and Temboo: dropped our vesions, tagged released are downloaded from their respective git repos
[core]
* SAM: added watchdog routing for Due. Thanks @bobc
* AVR: delayMicroseconds(..) doesn't hang if called with 0. Thanks @cano64
* AVR: delayMicroseconds(..), added support for 1Mhz, 12Mhz and 24Mhz. Thanks @cano64
* AVR: added missing case in detachInterrupt(). Thanks @leres, @vicatcu
* SAM: added watchdog routine for Due. Thanks @bobc
* AVR+SAM: reworked pulseIn() function to become GCC agnostic
* AVR+SAM: added pulseInLong() (based on micros()) to help getting good results in interrupt-prone environments
* AVR: fixed regression in HardwareSerial.flush(). Thanks @chromhelm
ARDUINO 1.6.4 - 2015.05.06
@ -63,6 +99,7 @@ ARDUINO 1.6.2 - 2015.03.28
* Introduced starting splashscreen with progress status: will be used for notifying user of long running startup tasks
* Available ports list is now generated in background: hence "tools" menu is much faster
* MacOSX: appbundler merged our contribution, switching to upstream version https://bitbucket.org/infinitekind/appbundler/
* MacOSX: filtering /dev/cu* was not a good idea. Filtering /dev/tty* instead
[core]
* Stream: fixed bug in findUntil routine #2591 @Xuth
@ -493,7 +530,7 @@ ARDUINO 1.5 BETA - 2012.10.22
* Everything is in beta, most features or libraries are still missing
or incomplete.
* For more info refer to this press release:
http://arduino.cc/blog/2012/10/22/arduino-1-5-support-for-the-due-and-other-processors-easier-library-installation-simplified-board-menu-etc/
http://www.arduino.cc/blog/2012/10/22/arduino-1-5-support-for-the-due-and-other-processors-easier-library-installation-simplified-board-menu-etc/
ARDUINO 1.0.7
@ -725,7 +762,7 @@ ARDUINO 1.0.1 - 2012.05.21
* The IDE has been internationalized and translated into multiple languages.
Thanks to Shigeru Kanemoto for the internationalization and Japanese
translation and many others for the other translations. For more
information, see: http://arduino.cc/playground/Main/LanguagesIDE
information, see: http://www.arduino.cc/playground/Main/LanguagesIDE
* Added preference for selecting the language in which to display the
Arduino software. Defaults to the operating system locale.
@ -980,7 +1017,7 @@ ARDUINO 0022 - 2010.12.24
* Adding an SD card library based on sdfatlib by Bill Greiman and the
MemoryCard library by Philip Lindsay (follower) for SparkFun.
http://arduino.cc/en/Reference/SD
http://www.arduino.cc/en/Reference/SD
* Added character manipulation macros (from Wiring): isAlphaNumeric(),
isAlpha(), isAscii(), isWhitespace(), isControl(), isDigit(), isGraph(),