Skip to content

Commit c3733c8

Browse files
committed
Constant Link fixes
1 parent 82354f0 commit c3733c8

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

Language/Functions/Advanced IO/pulseIn.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ NOTE: if the optional timeout is used code will execute faster.
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/highlow/[HIGH] or link:../../../variables/constants/highlow/[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

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/highlow/[HIGH] or link:../../../variables/constants/highlow/[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

Language/Structure/Control Structure/doWhile.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ do {
3232

3333
[float]
3434
=== Parameters
35-
`condition`: a boolean expression that evaluates to `link:../../../variables/constants/constants[true]` or `link:../../../variables/constants/constants[false]`.
35+
`condition`: a boolean expression that evaluates to `link:../../../variables/constants/truefalse[true]` or `link:../../../variables/constants/truefalse[false]`.
3636

3737
--
3838
// OVERVIEW SECTION ENDS

Language/Structure/Control Structure/for.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ for (initialization; condition; increment) {
3434
[float]
3535
=== Parameters
3636
`initialization`: happens first and exactly once. +
37-
`condition`: each time through the loop, `condition` is tested; if it's `link:../../../variables/constants/constants[true]`, the statement block, and the *increment* is executed, then the *condition* is tested again. When the *condition* becomes `link:../../../variables/constants/constants[false]`, the loop ends. +
38-
`increment`: executed each time through the loop when `condition` is link:../../../variables/constants/constants[`true`].
37+
`condition`: each time through the loop, `condition` is tested; if it's `link:../../../variables/constants/truefalse[true]`, the statement block, and the *increment* is executed, then the *condition* is tested again. When the *condition* becomes `link:../../../variables/constants/truefalse[false]`, the loop ends. +
38+
`increment`: executed each time through the loop when `condition` is link:../../../variables/constants/truefalse[`true`].
3939

4040
--
4141
// OVERVIEW SECTION ENDS

Language/Structure/Further Syntax/define.adoc

-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ Similarly, including an equal sign after the #define statement will also generat
8989

9090
[role="language"]
9191
* #LANGUAGE# link:../../../variables/variable-scope-qualifiers/const[const]
92-
* #LANGUAGE# link:../../../variables/constants/constants[Constants]
9392

9493
--
9594
// SEE ALSO SECTION ENDS

Language/Variables/Data Types/bool.adoc

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

1313
[float]
1414
=== Description
15-
A `bool` holds one of two values, `link:../../constants/constants[true]` or `link:../../constants/constants[false]`. (Each `bool` variable occupies one byte of memory.)
15+
A `bool` holds one of two values, `link:../../constants/truefalse[true]` or `link:../../constants/truefalse[false]`. (Each `bool` variable occupies one byte of memory.)
1616

1717

1818
[%hardbreaks]
@@ -77,8 +77,6 @@ void loop() {
7777
[float]
7878
=== See also
7979

80-
[role="language"]
81-
* #LANGUAGE# link:../../../variables/constants/constants[constants]
8280

8381
--
8482
// SEE ALSO SECTION ENDS

0 commit comments

Comments
 (0)