Skip to content

Commit bcfe72a

Browse files
author
Stefania
authored
Merge pull request #567 from per1234/remove-trailing-slash-from-reference-links
Don't use a trailing slash on reference links
2 parents d7989dd + 9c8bf10 commit bcfe72a

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Diff for: Language/Functions/Advanced IO/pulseIn.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The timing of this function has been determined empirically and will probably sh
3232
[float]
3333
=== Parameters
3434
`pin`: the number of the Arduino pin on which you want to read the pulse. Allowed data types: `int`. +
35-
`value`: type of pulse to read: either link:../../../variables/constants/constants/[HIGH] or link:../../../variables/constants/constants/[LOW]. Allowed data types: `int`. +
35+
`value`: type of pulse to read: either link:../../../variables/constants/constants[HIGH] or link:../../../variables/constants/constants[LOW]. Allowed data types: `int`. +
3636
`timeout` (optional): the number of microseconds to wait for the pulse to start; default is one second. Allowed data types: `unsigned long`.
3737

3838

Diff for: Language/Functions/Advanced IO/pulseInLong.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The timing of this function has been determined empirically and will probably sh
3434
[float]
3535
=== Parameters
3636
`pin`: the number of the Arduino pin on which you want to read the pulse. Allowed data types: `int`. +
37-
`value`: type of pulse to read: either link:../../../variables/constants/constants/[HIGH] or link:../../../variables/constants/constants/[LOW]. Allowed data types: `int`. +
37+
`value`: type of pulse to read: either link:../../../variables/constants/constants[HIGH] or link:../../../variables/constants/constants[LOW]. Allowed data types: `int`. +
3838
`timeout` (optional): the number of microseconds to wait for the pulse to start; default is one second. Allowed data types: `unsigned long`.
3939

4040

Diff for: Language/Structure/Boolean Operators/logicalNot.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ subCategories: [ "Boolean Operators" ]
3232

3333
[float]
3434
=== Example Code
35-
This operator can be used inside the condition of an link:../../control-structure/if/[if] statement.
35+
This operator can be used inside the condition of an link:../../control-structure/if[if] statement.
3636

3737
[source,arduino]
3838
----

Diff for: Language/Variables/Data Types/boolean.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ subCategories: [ "Data Types" ]
1212

1313
[float]
1414
=== Description
15-
`boolean` is a non-standard type alias for link:../../../variables/data-types/bool/[bool] defined by Arduino. It's recommended to instead use the standard type `bool`, which is identical.
15+
`boolean` is a non-standard type alias for link:../../../variables/data-types/bool[bool] defined by Arduino. It's recommended to instead use the standard type `bool`, which is identical.
1616

1717

1818
[%hardbreaks]

Diff for: Language/Variables/Data Types/int.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ On the Arduino Due and SAMD based boards (like MKR1000 and Zero), an int stores
2020

2121
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.
2222

23-
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.
23+
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.
2424
[%hardbreaks]
2525

2626

@@ -67,7 +67,7 @@ void loop() {
6767

6868
[float]
6969
=== Notes and Warnings
70-
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].
70+
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].
7171

7272

7373
--

0 commit comments

Comments
 (0)