1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-04 15:24:12 +01:00
Commit Graph

298 Commits

Author SHA1 Message Date
Nick
ad500ae24d Update incorrect docs in tonePitchFollower example
The comments state that the speaker should be on pin 8, but the code references pin 9. Updated the comments to reflect the correct pin.
2013-06-11 14:47:15 +02:00
Cristian Maglie
3394f61276 Merged 1.0.5 2013-05-29 18:30:36 +02:00
Fede85
5481bacba2 Fixes #1432 2013-05-23 16:24:38 +02:00
Cristian Maglie
a46259a0cf Merged 1.0.5
Still missing:
- updates to WiFi lib for sam.
- updates to examples of Ehternet and WiFi for sam.

Merge remote-tracking branch 'arduino/master' into ide-1.5.x

Conflicts:
	app/src/processing/app/Base.java
	app/src/processing/app/Editor.java
	app/src/processing/app/helpers/FileUtils.java
	app/src/processing/app/i18n/Resources_fr.po
	app/src/processing/app/i18n/Resources_fr.properties
	build/shared/revisions.txt
	hardware/arduino/avr/libraries/Ethernet/examples/DnsWebClient/DnsWebClient.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiChatServer/WifiChatServer.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiUdpSendReceiveString/WifiUdpSendReceiveString.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiWebClient/WifiWebClient.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino
	hardware/arduino/avr/libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
	libraries/WiFi/examples/WiFiChatServer/WiFiChatServer.ino
	libraries/WiFi/examples/WiFiPachubeClient/WiFiPachubeClient.ino
	libraries/WiFi/examples/WiFiPachubeClientString/WiFiPachubeClientString.ino
	libraries/WiFi/examples/WiFiTwitterClient/WiFiTwitterClient.ino
	libraries/WiFi/examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino
	libraries/WiFi/examples/WiFiWebClient/WiFiWebClient.ino
	libraries/WiFi/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino
	libraries/WiFi/examples/WiFiWebServer/WiFiWebServer.ino
	libraries/WiFi/examples/WifiChatServer/WifiChatServer.ino
	libraries/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino
	libraries/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino
	libraries/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino
	libraries/WiFi/examples/WifiUdpSendReceiveString/WifiUdpSendReceiveString.ino
	libraries/WiFi/examples/WifiWebClient/WifiWebClient.ino
	libraries/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino
	libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
2013-05-11 14:37:25 +02:00
Fede85
0db906f175 changed the pin where to connect the button from 2 to 4 to be compliant with the comment in the header and the tutorial.
Fixes #1396
2013-04-30 17:55:34 +02:00
Fede85
c87ddd567d small changes to the Debounce example 2013-04-16 16:50:23 +02:00
Federico Vanzati
97e0f34572 Merge pull request #1192 from miek/debounce-fix
Fix Debounce example to work as described
2013-04-16 01:22:31 -07:00
Cristian Maglie
62b723357c Merged 1.0.5
Merge remote-tracking branch 'arduino/master' into ide-1.5.x

Conflicts:
	app/src/processing/app/Base.java
	build/shared/revisions.txt
	hardware/arduino/avr/cores/arduino/malloc.c
	hardware/arduino/cores/arduino/avr-libc/malloc.c
	hardware/arduino/cores/arduino/malloc.c
	todo.txt
2013-04-03 13:51:04 +02:00
mdxtinkernick
a6022df422 Update build/shared/examples/05.Control/Arrays/Arrays.ino
removed redundant thisPin declaration in setup
2013-02-11 21:41:30 +00:00
Cristian Maglie
85976278e7 Merged upcoming 1.0.4
Merge remote-tracking branch 'arduino/master' into ide-1.5.x
2013-01-23 17:26:51 +01:00
Dan Moore
07f3915d8f Removing duplicate comment from top of KeyboardAndMouseControl example code. 2013-01-17 10:56:37 -05:00
Fede85
62e48dba91 corrected a wrong comment inside the KeyboardAndMouseControl example 2013-01-15 10:37:19 +01:00
Fede85
fbdd7754ce corrected a wrong comment inside the KeyboardAndMouseControl example 2013-01-15 10:27:32 +01:00
Mike
b7da415d6f Fix Debounce example to work as described
This alters the debounce example code to toggle the LED rather than just use
the button state to set the LED state.

Fixes #293
2012-12-28 20:16:42 +00:00
Cristian Maglie
38c05d2742 Merged 1.0.4 pre-release into 1.5 2012-12-17 16:53:45 +01:00
Cristian Maglie
105a5b1c05 Example had a wrong name (02.Digital/DigitalInputPullup)
Fixes #1074
2012-12-17 09:37:26 +01:00
Cristian Maglie
66ee23b885 Merged 1.0.3 2012-12-10 15:55:05 +01:00
Scott Howard
a309364fb8 typo in StringLength.ino fixes #1028 2012-12-05 13:25:37 -05:00
Scott
20c181470d Fixed issue in Starter kit example number 4 2012-11-14 16:07:38 -05:00
Cristian Maglie
23c7536dc7 Merged 1.0.2
Merge remote-tracking branch 'arduino/master' into ide-1.5.x

Conflicts:
	app/src/processing/app/debug/AvrdudeUploader.java
	build/shared/examples/09.USB/Keyboard/KeyboardLogout/KeyboardLogout.ino
	build/shared/examples/09.USB/Keyboard/KeyboardReprogram/KeyboardReprogram.ino
	build/shared/examples/09.USB/Keyboard/KeyboardSerial/KeyboardSerial.ino
	build/shared/examples/09.USB/Mouse/ButtonMouseControl/ButtonMouseControl.ino
	build/shared/examples/09.USB/Mouse/JoystickMouseControl/JoystickMouseControl.ino
	hardware/arduino/boards.txt
2012-11-04 22:49:14 +01:00
Scott
d6e9e03d13 Changed Leonardo only examples to "USB", added 2012-10-31 16:08:20 -04:00
Fede85
24d74ca8a2 typos and Due compliants comments on Keyboard examples 2012-10-22 10:20:35 +02:00
Scott
68e5047736 Added keywords for new libraries, rearranged and modified Due and USB examples
Renamed Leonardo Only examples folder to USB. Modified keyboard and
Mouse examples to indicate Due compatibility.

Minor modifications to Due examples to conform with existing example
sketches.

Added keywords to for Audio, Scheduer, and USBHost libraries.
2012-10-21 12:36:54 -04:00
Cristian Maglie
05a2d77f15 Merge remote-tracking branch 'origin/master' into merge-1.0.1 2012-10-18 20:31:51 +02:00
Fede85
a21c4e153f review of typos a and small errors in some examples 2012-10-18 19:03:25 +02:00
Cristian Maglie
aba27c43aa Merged upstream arduino branch 2012-10-18 15:50:09 +02:00
Scott
9fd14df549 Added Starter Kit examples 2012-10-12 13:23:48 -04:00
Tom Igoe
36b5d52d4a Corrected link address in Midi example 2012-08-13 15:21:28 -04:00
Cristian Maglie
a8f74c89d0 Fixed StringCharacters example 2012-08-06 12:03:04 +02:00
Cristian Maglie
d035d3b32c Fixed StringLength example 2012-06-26 01:01:52 +02:00
Cristian Maglie
46aeeb4b29 Merged upstream Arduino master branch 2012-06-26 00:51:35 +02:00
Cristian Maglie
33778af0db Fixed 02.Digital/StateChangeDetection buoncing issue 2012-06-25 19:15:49 +02:00
Tom Igoe
57ed5ba6f2 Reconciled comment versions on TonePitchFollower example 2012-06-12 10:23:19 -04:00
Tom Igoe
4b7bc3b584 Made changes to TonePitchFollower example for clarity, suggestions by user Michael Flynn 2012-05-31 18:24:38 -04:00
David A. Mellis
2cbde219c1 Merge remote-tracking branch 'upstream/master' 2012-05-21 09:31:54 -07:00
Tom Igoe
c3a9b304e1 MultiSerialMega example is now bi-directional 2012-05-19 19:55:25 -07:00
Tom Igoe
e997530b49 renamed USB examples folder to make web formatting easier 2012-05-01 14:05:42 -04:00
Zach Eveland
c7d98cc85d Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
Conflicts:
	build/shared/examples/04.Communication/SerialCallResponse/SerialCallResponse.ino
	build/shared/examples/04.Communication/SerialCallResponseASCII/SerialCallResponseASCII.ino
2012-05-01 10:19:00 -04:00
Tom Igoe
64f8f0aa62 Updated Max Patches on SerialCallResponse and SerialCallResponseASCII examples 2012-04-24 13:14:10 -04:00
Zach Eveland
59f7f988d7 added a slight delay to loop in DigitalReadSerial example so we don't overload Serial Monitor 2012-04-19 10:39:34 -04:00
Zach Eveland
c44329d732 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
Conflicts:
	build/shared/examples/01.Basics/DigitalReadSerial/DigitalReadSerial.ino
2012-04-19 10:34:53 -04:00
Tom Igoe
4b886ef421 Added ReadAnalogVoltage example 2012-04-16 07:59:12 -04:00
Tom Igoe
53fd81fc00 Added comments to Basics examples 2012-04-16 07:58:55 -04:00
Tom Igoe
9adcdadf59 Added ReadASCIIString example to Communication examples 2012-04-13 16:15:00 -04:00
Federico Vanzati
44966b81f4 Removed Serial.begin() inside examples where not needed 2012-04-11 13:08:43 +02:00
Tom Igoe
0cdc7e59c6 More delays in serial examples to avoid crashing serial monitor 2012-04-09 10:48:40 -04:00
Tom Igoe
bde00b9be9 Added delays to some serial examples to avoid crashing the serial monitor. 2012-04-09 10:48:40 -04:00
Tom Igoe
6f93d3fc17 Updated all comments for while (!Serial) additions to serial-based examples 2012-04-09 10:48:40 -04:00
Federico Vanzati
412f261e41 Corretions and refinements to the String examples 2012-04-06 20:00:31 +02:00
Federico Vanzati
383ac95f3e Corretions and refinements to the String examples 2012-04-06 12:59:54 +02:00
Tom Igoe
202bb102a0 Updated all serial in setup examples with a note about the serial check 2012-04-02 11:11:46 -04:00
Tom Igoe
a631e4f834 Added Serial port check to all examples using Serial statements in the setup 2012-04-02 09:07:58 -04:00
Zach Eveland
ae5d5c0c00 modified StringSubstring example to add gating on port readiness 2012-04-01 12:59:00 -04:00
Tom Igoe
76e551592a Deleted duplicate example 2012-03-29 15:20:53 -04:00
Tom Igoe
7c1b60191b Updated comments in keyboard reprogram 2012-03-29 12:04:22 -04:00
Tom Igoe
5627f14518 Fixed typo in the KeyboardReprogram example 2012-03-29 07:25:22 -04:00
Zach Eveland
3d15f3781a eliminated Keyboard.type() - unnecessary duplication of Keyboard.write() (David Mellis). Also edit KeyboardReprogram example which was the only example using type() 2012-03-28 18:35:26 -04:00
Tom Igoe
57b3395691 Moved begin() in JoystickMouseControl example. 2012-03-28 14:40:44 -04:00
Tom Igoe
f4746a6b25 Added delay to KeyboardReprogram to make backspace more obvious 2012-03-28 12:24:17 -04:00
Tom Igoe
5fef2eee1c Added new Keyboard and mouse combined control 2012-03-27 15:01:07 -04:00
Tom Igoe
772f4ffa5f Updated USB examples to include Keyboard and mouse Begin. 2012-03-27 15:00:24 -04:00
Zach Eveland
a0f1f1a930 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-03-24 09:30:17 -04:00
Tom Igoe
a46facad70 Updated notes in digitalInputPullup 2012-03-19 19:45:11 -04:00
Tom Igoe
f5093b064a Renumbered examples 2012-03-19 19:44:06 -04:00
Tom Igoe
a165d87aa9 Changed text of KeyboardMessage to make it easier for international keyboards. 2012-03-19 12:02:48 -04:00
David A. Mellis
13e0b9335c Putting ArduinoISP back to 19200 baud.
From 9600.  And lowering the delay in the heartbeat from 40 to 20,
which seems to fix things again.
2012-03-15 19:02:08 -04:00
Tom Igoe
5dba3bad20 Simplified mouse examples 2012-03-15 13:01:34 -04:00
Tom Igoe
1b58e45f74 Added LED to InputPullup example 2012-03-14 23:11:35 -04:00
Tom Igoe
81b6ca2d61 Added URL for new example 2012-03-14 21:11:00 -04:00
Tom Igoe
b2fe779ec0 Added DigitalInputPullup example by Scott Fitzgerald 2012-03-14 21:03:22 -04:00
Tom Igoe
15bd28d495 Added ButtonMouseControl example for Leonardo 2012-03-09 16:22:58 -05:00
Tom Igoe
3a51c4c3ab Added KeyboardLogout example 2012-03-06 12:47:34 -05:00
Tom Igoe
c95c262fe3 Removed KeyboardSleep example 2012-03-06 09:40:22 -05:00
Tom Igoe
3b383b9edf Corrected KeyboardReprogram sketch 2012-03-06 09:26:01 -05:00
Tom Igoe
2c90355ca2 Added new Keyboard combo examples 2012-03-05 22:30:47 -05:00
Tom Igoe
e828236692 Updated Joystick Mouse Control with hardware pin descriptions
Did it in the correct branch this time.
2012-01-16 15:28:04 -05:00
Zach Eveland
8f9ec88f57 Merge branch 'master' of github.com:arduino/Arduino into new-extension 2011-12-31 11:21:44 -05:00
David A. Mellis
80a2154279 Fixing ArduinoISP sketch by lowering baud rate to 9600 (from 19200).
http://code.google.com/p/arduino/issues/detail?id=661
2011-12-28 18:43:36 -05:00
David A. Mellis
3942e85c2c Updating to latest version from https://github.com/rsbohn/ArduinoISP
Commit db0fd3320878229df7ca9a2faff1f0a635e222af
2011-12-28 18:34:05 -05:00
David A. Mellis
f0923daa4f Revert "Removing Leonardo (and Mouse/Keyboard examples) for Arduino 1.0 release."
This reverts commit dca1dc429a.
2011-12-16 15:58:42 -05:00
David A. Mellis
dca1dc429a Removing Leonardo (and Mouse/Keyboard examples) for Arduino 1.0 release.
These will return, but the code isn't finished yet so I don't want to include it.
2011-11-28 18:47:45 -05:00
Tom Igoe
9af71ad6e8 Moved Mouse and Keyboard examples for Leonardo into the core examples folder 2011-11-28 15:03:06 -05:00
Tom Igoe
1143f4b325 Further updates to Max Patch for Serial Call Response ASCII example 2011-10-31 21:18:02 -04:00
Tom Igoe
6953c2ad5d Updated Max patch for Serial Call Response ASCII example 2011-10-31 09:20:06 -04:00
Tom Igoe
432fab12db Fixed SerialCallResponseASCII example so sensor output matches what Processing sketch expects. 2011-10-26 13:23:04 -04:00
David A. Mellis
1278144d50 Moving serialEvent() calls from RX interrupts to main for() loop (after loop()).
http://code.google.com/p/arduino/issues/detail?id=584
2011-08-31 15:52:56 -04:00
Tom Igoe
b21b43c591 deleted .pde examples 2011-08-30 17:02:55 -04:00
Tom Igoe
35777612c0 Changed all .pde examples to .ino
All examples in /build/shared/examples/ and /libraries/ have had their
extensions changed to .ino
2011-08-30 15:33:32 -04:00
tigoe
4c73aaf186 Edited build/shared/examples/4.Communication/SerialEvent/SerialEvent.ino via GitHub 2011-06-09 04:08:38 -07:00
Tom Igoe
4805fea3b2 Moving recent commits to new-extension branch 2011-05-21 13:22:43 -04:00
Tom Igoe
7ecf9ec237 Updated Serial Communication examples with compressed versions of Max/MSP patches that accompany them. 2011-05-03 13:21:41 -04:00
David A. Mellis
3eae87adc9 Modifying examples to use Serial.write() instead of Serial.print(BYTE). 2011-02-26 13:57:41 -05:00
tigoe
40d2c3db0b Fixed typo in Midi communication example 2011-02-08 13:46:31 -08:00
tigoe
e6dc688d2b Changed pin number to reconcile code with drawing on Arduino site. 2011-01-12 03:59:02 -08:00
David A. Mellis
32388c908f Replacing custom String.toInt() function with a call to atol(). 2010-12-03 23:12:41 -05:00
Tom Igoe
ab8c3fef6e added example for WCharacter.h functions in String examples 2010-11-29 14:56:33 -05:00
Tom Igoe
d6b457967f added two examples to String examples for String to integer conversion 2010-11-29 13:59:09 -05:00
Tom Igoe
c19a0956c4 minor bug fixes in examples 2010-10-28 09:15:30 -04:00
Tom Igoe
81de2b5a05 bug fixes to StateChangeDetection and ToneMelody examples 2010-10-14 14:46:51 -04:00
Tom Igoe
bc2999f00d deleted redundant analog in example and corrected typos in comments for analog examples 2010-09-17 16:43:22 +00:00
Tom Igoe
6fbfb713ee corrected note on fade example 2010-09-08 17:49:27 +00:00
Tom Igoe
6628bb061f Corrected an error in StringComparisonOperators example 2010-09-07 18:21:21 +00:00
Tom Igoe
47d3b65e51 Changed analog references to use new A0 through A5 notation 2010-09-04 19:47:59 +00:00
Tom Igoe
7f298400fa Removed duplicate version of Blink example, kept the one in Basics. 2010-08-30 19:50:58 +00:00
Tom Igoe
5fb0b62e7c Corrections to Basics examples 2010-08-15 14:30:43 +00:00
Tom Igoe
02eed8071b Corrections to Basics examples 2010-08-15 14:30:34 +00:00
Tom Igoe
cbc52cbe3c added example page URLS to String examples 2010-08-11 21:56:28 +00:00
Tom Igoe
564fd29edd Corrected formatting errors in String examples 2010-08-11 20:27:28 +00:00
Tom Igoe
50b05cb3cc Corrected formatting errors in String examples 2010-08-11 20:26:17 +00:00
Tom Igoe
691e9cab36 Corrected formatting errors in String examples 2010-08-11 20:26:10 +00:00
Tom Igoe
c6a73fa803 Corrected formatting errors in String examples 2010-08-11 20:24:10 +00:00
Tom Igoe
fb5eb1f3fd Corrected error in variable declaration for example StringLength 2010-08-10 19:33:52 +00:00
David A. Mellis
17beb9fcfb Using SPI pin definitions in pins_arduino.h for ArduinoISP sketch (now works on Mega). 2010-08-06 01:56:09 +00:00
Tom Igoe
77d5919b6d Corrected comments in String examples. 2010-08-01 16:19:08 +00:00
Tom Igoe
80095dc092 Eliminated whitespace from the end of String examples. 2010-08-01 14:29:01 +00:00
Tom Igoe
5d97e9ef99 Added String length() example. 2010-08-01 14:18:31 +00:00
Tom Igoe
81e7814887 added more String examples 2010-07-27 22:59:18 +00:00
Tom Igoe
570454f178 Added equals() to comparison operator example 2010-07-27 20:09:37 +00:00
Tom Igoe
8a21cd9e9e Added compareTo() to comparison operator example 2010-07-27 20:02:29 +00:00
Tom Igoe
dce397c5a4 Removed unfinished example 2010-07-27 19:06:00 +00:00
Tom Igoe
bc2c88789f Added core String library examples 2010-07-27 19:03:52 +00:00
Tom Igoe
95336c0f79 removed Snippets folder, now redundant 2010-07-27 02:29:25 +00:00
Tom Igoe
7da6084c91 renamed examples folders 2010-07-27 02:28:07 +00:00
Tom Igoe
8abab1bf75 renamed Examples/Digital directory 2010-07-27 02:24:28 +00:00
Tom Igoe
0ba81c3f34 Removed misnamed directory 2010-07-27 02:17:25 +00:00
Tom Igoe
aa6a81cf31 Adding Basics folder for examples, for beginners 2010-07-26 23:03:34 +00:00
Tom Igoe
a97a83cdc4 Adding Basics folder for examples, for beginners 2010-07-26 23:03:17 +00:00
Tom Igoe
a7967bdfef Adding Basics folder for examples, for beginners 2010-07-26 23:02:52 +00:00
Tom Igoe
8520e23483 Adding Basics folder for examples, for beginners 2010-07-26 23:02:46 +00:00
Tom Igoe
7797173d7e Adding Basics folder for examples, for beginners 2010-07-26 23:02:40 +00:00
Tom Igoe
4f0aaed544 Adding Basics folder for examples, for beginners 2010-07-26 23:02:30 +00:00
Tom Igoe
828d6301f7 Adding Basics folder for examples, for beginners 2010-07-26 23:02:19 +00:00
David A. Mellis
9334944189 Updating analog input pin number in Calibration example to match diagram. 2010-07-05 15:37:55 +00:00
Tom Igoe
38f50a62b5 Removed stubs, as it's now duplicated by snippets 2010-05-26 11:25:04 +00:00
Tom Igoe
9f755fd414 Stubs has been renamed as snippets. There's no need for both. 2010-05-25 11:38:27 +00:00
Tom Igoe
e1d6ac0208 Changed Stubs to Snippets 2010-03-19 15:14:53 +00:00
Tom Igoe
96729aca89 Added Tone multiple example 2010-03-08 16:42:48 +00:00
Tom Igoe
f4dc560751 Added Tone multiple example 2010-03-08 15:51:02 +00:00
Tom Igoe
d1f6f8ea4b Added public domain notice 2010-02-24 03:31:16 +00:00
Tom Igoe
f8e59c8c6c Added public domain notice 2010-02-24 03:31:14 +00:00
Tom Igoe
5ad51066ba Added public domain notice 2010-02-24 03:31:09 +00:00
Tom Igoe
e672117688 Added public domain notice 2010-02-24 03:27:13 +00:00
Tom Igoe
a84319e046 Added public domain notice 2010-02-24 03:27:10 +00:00
Tom Igoe
6bf11bca61 Added public domain notice 2010-02-24 03:27:06 +00:00
Tom Igoe
4729df3436 Added public domain notice 2010-02-24 03:26:59 +00:00
Tom Igoe
322b9f56b6 Added public domain notice 2010-02-24 03:26:55 +00:00
Tom Igoe
e51b62494f Added public domain notice 2010-02-24 03:26:52 +00:00
Tom Igoe
abe73849de Added public domain notice 2010-02-24 03:21:38 +00:00
Tom Igoe
c538f97c93 Added public domain notice 2010-02-24 03:21:37 +00:00
Tom Igoe
5148a8e8f9 Added public domain notice 2010-02-24 03:21:27 +00:00