From a6a0b87b215e04c0bdea02b6b413ea34975fb51d Mon Sep 17 00:00:00 2001 From: reaper7 Date: Thu, 30 Jul 2015 07:43:18 +0200 Subject: [PATCH] Update reference.md fix: INPUT_PULLDOWN_16 instead INPUT_PULLDOWN https://github.com/esp8266/Arduino/issues/604 --- doc/reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference.md b/doc/reference.md index a896147b8..fd556756a 100644 --- a/doc/reference.md +++ b/doc/reference.md @@ -7,7 +7,7 @@ title: Reference 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)`. Digital pins 0—15 can be `INPUT`, `OUTPUT`, or `INPUT_PULLUP`. -Pin 16 can be `INPUT`, `OUTPUT` or `INPUT_PULLDOWN`. At startup, pins are configured as `INPUT`. +Pin 16 can be `INPUT`, `OUTPUT` or `INPUT_PULLDOWN_16`. At startup, pins are configured as `INPUT`. 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.