Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
2146cdab
Commit
2146cdab
authored
Aug 09, 2016
by
Paul Sokolovsky
Browse files
docs/esp8266/tutorial/pins: Fix typo in commands for pin input mode.
parent
e4e45269
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/esp8266/tutorial/pins.rst
View file @
2146cdab
...
...
@@ -14,7 +14,7 @@ Here, the "0" is the pin that you want to access. Usually you want to
configure the pin to be input or output, and you do this when constructing
it. To make an input pin use::
>>> pin = machine.Pin(0, machine.Pin.
OUT
, machine.Pin.PULL_UP)
>>> 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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment