summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp8266
diff options
context:
space:
mode:
authorOlivier Ortigues <o.ortigues@gmail.com>2018-02-14 21:41:01 +0100
committerDamien George <damien.p.george@gmail.com>2018-02-15 11:15:12 +1100
commit298b325f3e1385267b715af60ffcae7f71432196 (patch)
tree53b4f30c1d812c06aa0b270a5712f64e952fbc55 /docs/esp8266
parent359d2bdf8450ec3316eb7cc3fdc210d28cfdf91b (diff)
downloadmicropython-298b325f3e1385267b715af60ffcae7f71432196.tar.gz
micropython-298b325f3e1385267b715af60ffcae7f71432196.zip
docs/esp8266: Add a note concerning GPIO16 pull capabilities.
Diffstat (limited to 'docs/esp8266')
-rw-r--r--docs/esp8266/tutorial/pins.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/esp8266/tutorial/pins.rst b/docs/esp8266/tutorial/pins.rst
index cd45c83cd3..d304cd55b7 100644
--- a/docs/esp8266/tutorial/pins.rst
+++ b/docs/esp8266/tutorial/pins.rst
@@ -17,7 +17,8 @@ it. To make an input pin use::
>>> pin = machine.Pin(0, machine.Pin.IN, machine.Pin.PULL_UP)
You can either use PULL_UP or None for the input pull-mode. If it's
-not specified then it defaults to None, which is no pull resistor.
+not specified then it defaults to None, which is no pull resistor. GPIO16
+has no pull-up mode.
You can read the value on the pin using::
>>> pin.value()