Skip to content

Commit 9b5ff8b

Browse files
author
smellai
committed
fixed links, Fixes #61
1 parent a2099dc commit 9b5ff8b

File tree

16 files changed

+20
-20
lines changed

16 files changed

+20
-20
lines changed

Language/Functions/Advanced IO/shiftIn.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Shifts in a byte of data one bit at a time. Starts from either the most (i.e. th
2222

2323
If you're interfacing with a device that's clocked by rising edges, you'll need to make sure that the clock pin is low before the first call to `shiftIn()`, e.g. with a call to `digitalWrite(clockPin, LOW)`.
2424

25-
Note: this is a software implementation; Arduino also provides an link:../SPI[SPI library] that uses the hardware implementation, which is faster but only works on specific pins.
25+
Note: this is a software implementation; Arduino also provides an link:https://www.arduino.cc/en/Reference/SPI[SPI library] that uses the hardware implementation, which is faster but only works on specific pins.
2626
[%hardbreaks]
2727

2828

Language/Functions/Advanced IO/shiftOut.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Shifts out a byte of data one bit at a time. Starts from either the most (i.e. t
2222

2323
Note- if you're interfacing with a device that's clocked by rising edges, you'll need to make sure that the clock pin is low before the call to `shiftOut()`, e.g. with a call to `digitalWrite(clockPin, LOW)`.
2424

25-
This is a software implementation; see also the link:../SPI[SPI library], which provides a hardware implementation that is faster but works only on specific pins.
25+
This is a software implementation; see also the linkhttps://www.arduino.cc/en/Reference/SPI[SPI library], which provides a hardware implementation that is faster but works only on specific pins.
2626
[%hardbreaks]
2727

2828

@@ -103,7 +103,7 @@ void loop() {
103103

104104
[float]
105105
=== Notes and Warnings
106-
The dataPin and clockPin must already be configured as outputs by a call to link:../digital-io/pinmode[pinMode()].
106+
The dataPin and clockPin must already be configured as outputs by a call to link:../../digital-io/pinmode[pinMode()].
107107

108108
shiftOut is currently written to output 1 byte (8 bits) so it requires a two step operation to output values larger than 255.
109109
[source,arduino]

Language/Functions/Time/delay.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void loop()
7373
=== Notes and Warnings
7474
While it is easy to create a blinking LED with the `delay()` function, and many sketches use short delays for such tasks as switch debouncing, the use of `delay()` in a sketch has significant drawbacks. No other reading of sensors, mathematical calculations, or pin manipulation can go on during the delay function, so in effect, it brings most other activity to a halt. For alternative approaches to controlling timing see the link:../millis[millis()] function and the sketch sited below. More knowledgeable programmers usually avoid the use of `delay()` for timing of events longer than 10's of milliseconds unless the Arduino sketch is very simple.
7575

76-
Certain things do go on while the delay() function is controlling the Atmega chip however, because the delay function does not disable interrupts. Serial communication that appears at the RX pin is recorded, PWM (link:../analog-io/analogwrite[analogWrite]) values and pin states are maintained, and link:../../external-interrupts/attachinterrupt[interrupts] will work as they should.
76+
Certain things do go on while the delay() function is controlling the Atmega chip however, because the delay function does not disable interrupts. Serial communication that appears at the RX pin is recorded, PWM (link:../../analog-io/analogwrite[analogWrite]) values and pin states are maintained, and link:../../external-interrupts/attachinterrupt[interrupts] will work as they should.
7777

7878
--
7979
// HOW TO USE SECTION ENDS

Language/Functions/USB/Keyboard/keyboardBegin.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ title: Keyboard.begin()
1515

1616
[float]
1717
=== Description
18-
When used with a Leonardo or Due board, `Keyboard.begin()` starts emulating a keyboard connected to a computer. To end control, use link:../keyboardEnd[Keyboard.end()].
18+
When used with a Leonardo or Due board, `Keyboard.begin()` starts emulating a keyboard connected to a computer. To end control, use link:../keyboardend[Keyboard.end()].
1919
[%hardbreaks]
2020

2121

Language/Functions/USB/Keyboard/keyboardPress.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ title: Keyboard.press()
1515

1616
[float]
1717
=== Description
18-
When called, `Keyboard.press()` functions as if a key were pressed and held on your keyboard. Useful when using link:../keyboardModifier[modifier keys]. To end the key press, use link:../keyboardRelease[Keyboard.release()] or link:../keyboardReleaseAll[Keyboard.releaseAll()].
18+
When called, `Keyboard.press()` functions as if a key were pressed and held on your keyboard. Useful when using link:../keyboardmodifier[modifier keys]. To end the key press, use link:../keyboardrelease[Keyboard.release()] or link:../keyboardreleaseall[Keyboard.releaseAll()].
1919

20-
It is necessary to call link:../keyboardBegin[Keyboard.begin()] before using `press()`.
20+
It is necessary to call link:../keyboardbegin[Keyboard.begin()] before using `press()`.
2121
[%hardbreaks]
2222

2323

Language/Functions/USB/Keyboard/keyboardRelease.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ title: Keyboard.release()
1515

1616
[float]
1717
=== Description
18-
Lets go of the specified key. See link:../keyboardPress[Keyboard.press()] for more information.
18+
Lets go of the specified key. See link:../keyboardpress[Keyboard.press()] for more information.
1919
[%hardbreaks]
2020

2121

Language/Functions/USB/Keyboard/keyboardWrite.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ title: Keyboard.write()
1515

1616
[float]
1717
=== Description
18-
Sends a keystroke to a connected computer. This is similar to pressing and releasing a key on your keyboard. You can send some ASCII characters or the additional link:../keyboardModifiers[keyboard modifiers and special keys].
18+
Sends a keystroke to a connected computer. This is similar to pressing and releasing a key on your keyboard. You can send some ASCII characters or the additional link:../keyboardmodifiers[keyboard modifiers and special keys].
1919

2020
Only ASCII characters that are on the keyboard are supported. For example, ASCII 8 (backspace) would work, but ASCII 25 (Substitution) would not. When sending capital letters, Keyboard.write() sends a shift command plus the desired character, just as if typing on a keyboard. If sending a numeric type, it sends it as an ASCII character (ex. Keyboard.write(97) will send 'a').
2121

Language/Structure/Boolean Operators/logicalAnd.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ subCategories: [ "Boolean Operators" ]
3333

3434
[float]
3535
=== Example Code
36-
This operator can be used inside the condition of an link:../../control-structures/if[if] statement.
36+
This operator can be used inside the condition of an link:../../control-structure/if[if] statement.
3737

3838
[source,arduino]
3939
----

Language/Variables/Constants/integerConstants.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ subCategories: [ "Constants" ]
1818

1919
[float]
2020
=== Description
21-
Integer constants are numbers that are used directly in a sketch, like 123. By default, these numbers are treated as link:../../data-types[int] but you can change this with the U and L modifiers (see below).
21+
Integer constants are numbers that are used directly in a sketch, like 123. By default, these numbers are treated as link:../../data-types/int[int] but you can change this with the U and L modifiers (see below).
2222
[%hardbreaks]
2323

2424
Normally, integer constants are treated as base 10 (decimal) integers, but special notation (formatters) may be used to enter numbers in other bases.

Language/Variables/Conversion/wordcast.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ subCategories: [ "Conversion" ]
1818

1919
[float]
2020
=== Description
21-
Converts a value to the link:../data-types/word[word] data type.
21+
Converts a value to the link:../../data-types/word[word] data type.
2222
[%hardbreaks]
2323

2424

@@ -52,7 +52,7 @@ Converts a value to the link:../data-types/word[word] data type.
5252
=== See also
5353

5454
[role="language"]
55-
* #LANGUAGE# link:../data-types/word[word]
55+
* #LANGUAGE# link:../../data-types/word[word]
5656

5757

5858
--

Language/Variables/Data Types/boolean.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void loop()
7575
=== See also
7676

7777
[role="language"]
78-
* #LANGUAGE# link:../../contants/constants[constants]
78+
* #LANGUAGE# link:../../../variables/contants/constants[constants]
7979

8080
--
8181
// SEE ALSO SECTION ENDS

Language/Variables/Data Types/char.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ subCategories: [ "Data Types" ]
2020
=== Description
2121
A data type that takes up 1 byte of memory that stores a character value. Character literals are written in single quotes, like this: 'A' (for multiple characters - strings - use double quotes: "ABC").
2222

23-
Characters are stored as numbers however. You can see the specific encoding in the link:../ASCIIchart[ASCII chart]. This means that it is possible to do arithmetic on characters, in which the ASCII value of the character is used (e.g. 'A' + 1 has the value 66, since the ASCII value of the capital letter A is 65). See link:../println[`Serial.println`] reference for more on how characters are translated to numbers.
23+
Characters are stored as numbers however. You can see the specific encoding in the link:https://www.arduino.cc/en/Reference/ASCIIchart[ASCII chart]. This means that it is possible to do arithmetic on characters, in which the ASCII value of the character is used (e.g. 'A' + 1 has the value 66, since the ASCII value of the capital letter A is 65). See link:../../../functions/communication/serial/println[`Serial.println`] reference for more on how characters are translated to numbers.
2424

2525
The char datatype is a signed type, meaning that it encodes numbers from -128 to 127. For an unsigned, one-byte (8 bit) data type, use the _byte_ data type.
2626
[%hardbreaks]

Language/Variables/Data Types/float.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Floating point numbers are not exact, and may yield strange results when compare
2626

2727
Floating point math is also much slower than integer math in performing calculations, so should be avoided if, for example, a loop has to run at top speed for a critical timing function. Programmers often go to some lengths to convert floating point calculations to integer math to increase speed.
2828

29-
If doing math with floats, you need to add a decimal point, otherwise it will be treated as an int. See the link:../fpConstant[Floating point] constants page for details.
29+
If doing math with floats, you need to add a decimal point, otherwise it will be treated as an int. See the link:../floatingpointconstants[Floating point] constants page for details.
3030
[%hardbreaks]
3131

3232
[float]

Language/Variables/Data Types/int.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ On the Arduino Due, an int stores a 32-bit (4-byte) value. This yields a range o
2525

2626
int's store negative numbers with a technique called (http://en.wikipedia.org/wiki/2%27s_complement[2's complement math]). The highest bit, sometimes referred to as the "sign" bit, flags the number as a negative number. The rest of the bits are inverted and 1 is added.
2727

28-
The Arduino takes care of dealing with negative numbers for you, so that arithmetic operations work transparently in the expected manner. There can be an unexpected complication in dealing with the link:../../structure/bitwise-operators/bitshiftright/[bitshift right operator] (>>) however.
28+
The Arduino takes care of dealing with negative numbers for you, so that arithmetic operations work transparently in the expected manner. There can be an unexpected complication in dealing with the link:../../../structure/bitwise-operators/bitshiftright/[bitshift right operator] (>>) however.
2929
[%hardbreaks]
3030

3131

@@ -59,7 +59,7 @@ The Arduino takes care of dealing with negative numbers for you, so that arithme
5959

6060
[float]
6161
=== Notes and Warnings
62-
When signed variables are made to exceed their maximum or minimum capacity they _overflow_. The result of an overflow is unpredictable so this should be avoided. A typical symptom of an overflow is the variable "rolling over" from its maximum capacity to its minimum or vice versa, but this is not always the case. If you want this behavior, use link:unsignedint{ext-relative}/[unsigned int].
62+
When signed variables are made to exceed their maximum or minimum capacity they _overflow_. The result of an overflow is unpredictable so this should be avoided. A typical symptom of an overflow is the variable "rolling over" from its maximum capacity to its minimum or vice versa, but this is not always the case. If you want this behavior, use link:../unsignedint/[unsigned int].
6363

6464

6565
--

Language/Variables/Variable Scope & Qualifiers/const.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ subCategories: [ "Variable Scope & Qualifiers" ]
2020
=== Description
2121
The `const` keyword stands for constant. It is a variable _qualifier_ that modifies the behavior of the variable, making a variable "_read-only_". This means that the variable can be used just as any other variable of its type, but its value cannot be changed. You will get a compiler error if you try to assign a value to a `const` variable.
2222

23-
Constants defined with the const keyword obey the rules of link:../scope[variable scoping] that govern other variables. This, and the pitfalls of using#define, makes the const keyword a superior method for defining constants and is preferred over using link:../define[[#define].
23+
Constants defined with the const keyword obey the rules of link:../scope[variable scoping] that govern other variables. This, and the pitfalls of using#define, makes the const keyword a superior method for defining constants and is preferred over using link:../../../structure/further-syntax/define[#define].
2424
[%hardbreaks]
2525

2626
--
@@ -57,7 +57,7 @@ pi = 7; // illegal - you can't write to (modify) a constant
5757
=== Notes and Warnings
5858
*`#define` or `const`*
5959

60-
You can use either `const` or `#define` for creating numeric or string constants. For link:../array[arrays], you will need to use `const`. In general `const` is preferred over `#define` for defining constants.
60+
You can use either `const` or `#define` for creating numeric or string constants. For link:../../array[arrays], you will need to use `const`. In general `const` is preferred over `#define` for defining constants.
6161

6262

6363
--

0 commit comments

Comments
 (0)