docs/esp8266: Add a note concerning GPIO16 pull capabilities.

pull/3598/head
Olivier Ortigues 2018-02-14 21:41:01 +01:00 zatwierdzone przez Damien George
rodzic 359d2bdf84
commit 298b325f3e
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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()