Skip to content

Commit 972f6e5

Browse files
committed
Update all URLs in example comments
Some of the URLs were broken. Almost all of the URLs had changed, but were still working due to redirects. However, these redirects might stop working at some time in the future (as happened during the last round of website reorganization) so it's safest to point them to the final location.
1 parent c8fae22 commit 972f6e5

File tree

76 files changed

+81
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+81
-83
lines changed

Diff for: examples/01.Basics/Blink/Blink.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
2020
This example code is in the public domain.
2121
22-
http://www.arduino.cc/en/Tutorial/Blink
22+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink
2323
*/
2424

2525
// the setup function runs once when you press reset or power the board

Diff for: examples/01.Basics/DigitalReadSerial/DigitalReadSerial.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This example code is in the public domain.
77
8-
http://www.arduino.cc/en/Tutorial/DigitalReadSerial
8+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/DigitalReadSerial
99
*/
1010

1111
// digital pin 2 has a pushbutton attached to it. Give it a name:

Diff for: examples/01.Basics/Fade/Fade.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
1111
This example code is in the public domain.
1212
13-
http://www.arduino.cc/en/Tutorial/Fade
13+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Fade
1414
*/
1515

1616
int led = 9; // the PWM pin the LED is attached to

Diff for: examples/01.Basics/ReadAnalogVoltage/ReadAnalogVoltage.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
This example code is in the public domain.
99
10-
http://www.arduino.cc/en/Tutorial/ReadAnalogVoltage
10+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/ReadAnalogVoltage
1111
*/
1212

1313
// the setup routine runs once when you press reset:

Diff for: examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
2626
This example code is in the public domain.
2727
28-
http://www.arduino.cc/en/Tutorial/BlinkWithoutDelay
28+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/BlinkWithoutDelay
2929
*/
3030

3131
// constants won't change. Used here to set a pin number:

Diff for: examples/02.Digital/Button/Button.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
2020
This example code is in the public domain.
2121
22-
http://www.arduino.cc/en/Tutorial/Button
22+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Button
2323
*/
2424

2525
// constants won't change. They're used here to set pin numbers:

Diff for: examples/02.Digital/Debounce/Debounce.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
This example code is in the public domain.
2626
27-
http://www.arduino.cc/en/Tutorial/Debounce
27+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Debounce
2828
*/
2929

3030
// constants won't change. They're used here to set pin numbers:

Diff for: examples/02.Digital/DigitalInputPullup/DigitalInputPullup.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
This example code is in the public domain.
1919
20-
http://www.arduino.cc/en/Tutorial/InputPullupSerial
20+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/InputPullupSerial
2121
*/
2222

2323
void setup() {

Diff for: examples/02.Digital/StateChangeDetection/StateChangeDetection.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
This example code is in the public domain.
2323
24-
http://www.arduino.cc/en/Tutorial/ButtonStateChange
24+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/StateChangeDetection
2525
*/
2626

2727
// this constant won't change:

Diff for: examples/02.Digital/toneKeyboard/toneKeyboard.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
This example code is in the public domain.
1616
17-
http://www.arduino.cc/en/Tutorial/Tone3
17+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/toneKeyboard
1818
*/
1919

2020
#include "pitches.h"

Diff for: examples/02.Digital/toneMelody/toneMelody.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
This example code is in the public domain.
1414
15-
http://www.arduino.cc/en/Tutorial/Tone
15+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/toneMelody
1616
*/
1717

1818
#include "pitches.h"

Diff for: examples/02.Digital/toneMultiple/toneMultiple.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
This example code is in the public domain.
1414
15-
http://www.arduino.cc/en/Tutorial/Tone4
15+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/toneMultiple
1616
*/
1717

1818
void setup() {

Diff for: examples/02.Digital/tonePitchFollower/tonePitchFollower.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
This example code is in the public domain.
1616
17-
http://www.arduino.cc/en/Tutorial/Tone2
17+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/tonePitchFollower
1818
*/
1919

2020
void setup() {

Diff for: examples/03.Analog/AnalogInOutSerial/AnalogInOutSerial.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
This example code is in the public domain.
1919
20-
http://www.arduino.cc/en/Tutorial/AnalogInOutSerial
20+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/AnalogInOutSerial
2121
*/
2222

2323
// These constants won't change. They're used to give names to the pins used:

Diff for: examples/03.Analog/AnalogInput/AnalogInput.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
This example code is in the public domain.
2626
27-
http://www.arduino.cc/en/Tutorial/AnalogInput
27+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/AnalogInput
2828
*/
2929

3030
int sensorPin = A0; // select the input pin for the potentiometer

Diff for: examples/03.Analog/AnalogWriteMega/AnalogWriteMega.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
This example code is in the public domain.
1414
15-
http://www.arduino.cc/en/Tutorial/AnalogWriteMega
15+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/AnalogWriteMega
1616
*/
1717

1818
// These constants won't change. They're used to give names to the pins used:

Diff for: examples/03.Analog/Calibration/Calibration.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
2424
This example code is in the public domain.
2525
26-
http://www.arduino.cc/en/Tutorial/Calibration
26+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Calibration
2727
*/
2828

2929
// These constants won't change:

Diff for: examples/03.Analog/Fading/Fading.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
This example code is in the public domain.
1515
16-
http://www.arduino.cc/en/Tutorial/Fading
16+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Fading
1717
*/
1818

1919
int ledPin = 9; // LED connected to digital pin 9

Diff for: examples/03.Analog/Smoothing/Smoothing.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
This example code is in the public domain.
1717
18-
http://www.arduino.cc/en/Tutorial/Smoothing
18+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Smoothing
1919
*/
2020

2121
// Define the number of samples to keep track of. The higher the number, the

Diff for: examples/04.Communication/ASCIITable/ASCIITable.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
This example code is in the public domain.
1818
19-
http://www.arduino.cc/en/Tutorial/ASCIITable
19+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/ASCIITable
2020
*/
2121

2222
void setup() {

Diff for: examples/04.Communication/Dimmer/Dimmer.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
This example code is in the public domain.
1919
20-
http://www.arduino.cc/en/Tutorial/Dimmer
20+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Dimmer
2121
*/
2222

2323
const int ledPin = 9; // the pin that the LED is attached to

Diff for: examples/04.Communication/Graph/Graph.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
2323
This example code is in the public domain.
2424
25-
http://www.arduino.cc/en/Tutorial/Graph
25+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Graph
2626
*/
2727

2828
void setup() {

Diff for: examples/04.Communication/Midi/Midi.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
This example code is in the public domain.
1919
20-
http://www.arduino.cc/en/Tutorial/Midi
20+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Midi
2121
*/
2222

2323
void setup() {

Diff for: examples/04.Communication/PhysicalPixel/PhysicalPixel.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
This example code is in the public domain.
2020
21-
http://www.arduino.cc/en/Tutorial/PhysicalPixel
21+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/PhysicalPixel
2222
*/
2323

2424
const int ledPin = 13; // the pin that the LED is attached to

Diff for: examples/04.Communication/SerialCallResponse/SerialCallResponse.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
This example code is in the public domain.
2020
21-
http://www.arduino.cc/en/Tutorial/SerialCallResponse
21+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/SerialCallResponse
2222
*/
2323

2424
int firstSensor = 0; // first analog sensor

Diff for: examples/04.Communication/SerialCallResponseASCII/SerialCallResponseASCII.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
2020
This example code is in the public domain.
2121
22-
http://www.arduino.cc/en/Tutorial/SerialCallResponseASCII
22+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/SerialCallResponseASCII
2323
*/
2424

2525
int firstSensor = 0; // first analog sensor

Diff for: examples/04.Communication/SerialEvent/SerialEvent.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
This example code is in the public domain.
1717
18-
http://www.arduino.cc/en/Tutorial/SerialEvent
18+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/SerialEvent
1919
*/
2020

2121
String inputString = ""; // a String to hold incoming data

Diff for: examples/04.Communication/VirtualColorMixer/VirtualColorMixer.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
This example code is in the public domain.
1515
16-
http://www.arduino.cc/en/Tutorial/VirtualColorMixer
16+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/VirtualColorMixer
1717
*/
1818

1919
const int redPin = A0; // sensor to control red color

Diff for: examples/05.Control/Arrays/Arrays.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
This example code is in the public domain.
1919
20-
http://www.arduino.cc/en/Tutorial/Array
20+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Arrays
2121
*/
2222

2323
int timer = 100; // The higher the number, the slower the timing.

Diff for: examples/05.Control/ForLoopIteration/ForLoopIteration.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
This example code is in the public domain.
1616
17-
http://www.arduino.cc/en/Tutorial/ForLoop
17+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/ForLoopIteration
1818
*/
1919

2020
int timer = 100; // The higher the number, the slower the timing.

Diff for: examples/05.Control/IfStatementConditional/IfStatementConditional.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
This example code is in the public domain.
2323
24-
http://www.arduino.cc/en/Tutorial/IfStatement
24+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/ifStatementConditional
2525
*/
2626

2727
// These constants won't change:

Diff for: examples/05.Control/WhileStatementConditional/WhileStatementConditional.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
This example code is in the public domain.
2626
27-
http://www.arduino.cc/en/Tutorial/WhileLoop
27+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/WhileStatementConditional
2828
*/
2929

3030

Diff for: examples/05.Control/switchCase/switchCase.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
This example code is in the public domain.
2020
21-
http://www.arduino.cc/en/Tutorial/SwitchCase
21+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/SwitchCase
2222
*/
2323

2424
// these constants won't change. They are the lowest and highest readings you

Diff for: examples/05.Control/switchCase2/switchCase2.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
This example code is in the public domain.
1919
20-
http://www.arduino.cc/en/Tutorial/SwitchCase2
20+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/SwitchCase2
2121
*/
2222

2323
void setup() {

Diff for: examples/06.Sensors/ADXL3xx/ADXL3xx.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Reads an Analog Devices ADXL3xx accelerometer and communicates the
55
acceleration to the computer. The pins used are designed to be easily
66
compatible with the breakout boards from SparkFun, available from:
7-
http://www.sparkfun.com/commerce/categories.php?c=80
7+
https://www.sparkfun.com/categories/80
88
99
The circuit:
1010
- analog 0: accelerometer self test
@@ -21,7 +21,7 @@
2121
2222
This example code is in the public domain.
2323
24-
http://www.arduino.cc/en/Tutorial/ADXL3xx
24+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/ADXL3xx
2525
*/
2626

2727
// these constants describe the pins. They won't change:

Diff for: examples/06.Sensors/Knock/Knock.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
This example code is in the public domain.
2020
21-
http://www.arduino.cc/en/Tutorial/Knock
21+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Knock
2222
*/
2323

2424

Diff for: examples/06.Sensors/Memsic2125/Memsic2125.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
This example code is in the public domain.
2020
21-
http://www.arduino.cc/en/Tutorial/Memsic2125
21+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Memsic2125
2222
*/
2323

2424
// these constants won't change:

Diff for: examples/06.Sensors/Ping/Ping.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
This example code is in the public domain.
2020
21-
http://www.arduino.cc/en/Tutorial/Ping
21+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Ping
2222
*/
2323

2424
// this constant won't change. It's the pin number of the sensor's output:
@@ -67,7 +67,7 @@ long microsecondsToInches(long microseconds) {
6767
// microseconds per inch (i.e. sound travels at 1130 feet per second).
6868
// This gives the distance travelled by the ping, outbound and return,
6969
// so we divide by 2 to get the distance of the obstacle.
70-
// See: http://www.parallax.com/dl/docs/prod/acc/28015-PING-v1.3.pdf
70+
// See: https://www.parallax.com/package/ping-ultrasonic-distance-sensor-downloads/
7171
return microseconds / 74 / 2;
7272
}
7373

Diff for: examples/07.Display/RowColumnScanning/RowColumnScanning.ino

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This example controls an 8x8 LED matrix using two analog inputs.
55
66
This example works for the Lumex LDM-24488NI Matrix. See
7-
http://sigma.octopart.com/140413/datasheet/Lumex-LDM-24488NI.pdf
7+
https://sigma.octopart.com/140413/datasheet/Lumex-LDM-24488NI.pdf
88
for the pin connections.
99
1010
For other LED cathode column matrixes, you should only need to change the pin
@@ -28,9 +28,7 @@
2828
2929
This example code is in the public domain.
3030
31-
http://www.arduino.cc/en/Tutorial/RowColumnScanning
32-
33-
see also http://www.tigoe.net/pcomp/code/category/arduinowiring for more
31+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/RowColumnScanning
3432
*/
3533

3634
// 2-dimensional array of row pin numbers:

Diff for: examples/07.Display/barGraph/barGraph.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
This example code is in the public domain.
1919
20-
http://www.arduino.cc/en/Tutorial/BarGraph
20+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/BarGraph
2121
*/
2222

2323
// these constants won't change:

Diff for: examples/08.Strings/CharacterAnalysis/CharacterAnalysis.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
1111
This example code is in the public domain.
1212
13-
http://www.arduino.cc/en/Tutorial/CharacterAnalysis
13+
https://www.arduino.cc/en/Tutorial/BuiltInExamples/CharacterAnalysis
1414
*/
1515

1616
void setup() {

0 commit comments

Comments
 (0)