Skip to content

Commit be0447b

Browse files
authored
Improved description of HIGH constant.
This fixes #470
1 parent 910088d commit be0447b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Language/Variables/Constants/constants.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ categories: [ "Variables" ]
44
subCategories: [ "Constants" ]
55
---
66

7-
8-
9-
10-
117
= Constants
128

139

@@ -48,7 +44,7 @@ The meaning of `HIGH` (in reference to a pin) is somewhat different depending on
4844
- a voltage greater than 2.0V volts is present at the pin (3.3V boards)
4945
[%hardbreaks]
5046

51-
A pin may also be configured as an INPUT with `pinMode()`, and subsequently made HIGH with link:../../../functions/digital-io/digitalwrite[digitalWrite()]. This will enable the internal 20K pullup resistors, which will _pull up_ the input pin to a `HIGH` reading unless it is pulled `LOW` by external circuitry. This is how `INPUT_PULLUP` works and is described below in more detail.
47+
A pin may also be configured as an INPUT with `pinMode()`, and subsequently made HIGH with link:../../../functions/digital-io/digitalwrite[digitalWrite()]. This will enable the internal 20K pullup resistors, which will _pull up_ the input pin to a `HIGH` reading unless it is pulled `LOW` by external circuitry. This can done alternatively by passing `INPUT_PULLUP` as argument to the `pinMode()` funtion, as explained in more detail in the section "Defining Digital Pins modes: INPUT, INPUT_PULLUP, and OUTPUT" further below.
5248
[%hardbreaks]
5349

5450
When a pin is configured to OUTPUT with `pinMode()`, and set to `HIGH` with `digitalWrite()`, the pin is at:

0 commit comments

Comments
 (0)