Skip to content

Commit a6a0b87

Browse files
committed
Update reference.md
fix: INPUT_PULLDOWN_16 instead INPUT_PULLDOWN esp8266#604
1 parent c4a1af8 commit a6a0b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Reference
77
Pin numbers in Arduino correspond directly to the ESP8266 GPIO pin numbers. `pinMode`, `digitalRead`, and `digitalWrite` functions work as usual, so to read GPIO2, call `digitalRead(2)`.
88

99
Digital pins 0—15 can be `INPUT`, `OUTPUT`, or `INPUT_PULLUP`.
10-
Pin 16 can be `INPUT`, `OUTPUT` or `INPUT_PULLDOWN`. At startup, pins are configured as `INPUT`.
10+
Pin 16 can be `INPUT`, `OUTPUT` or `INPUT_PULLDOWN_16`. At startup, pins are configured as `INPUT`.
1111

1212
Pins may also serve other functions, like Serial, I2C, SPI. These functions are normally activated by the corresponding library. The diagram below shows pin mapping for the popular ESP-12 module.
1313

0 commit comments

Comments
 (0)