From b7b9c7c41604e114f70ca07670f68321f30b26f6 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 --- hardware/esp8266com/esp8266/doc/reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/esp8266com/esp8266/doc/reference.md b/hardware/esp8266com/esp8266/doc/reference.md index a896147b82..fd556756a6 100644 --- a/hardware/esp8266com/esp8266/doc/reference.md +++ b/hardware/esp8266com/esp8266/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.