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
93968bd6
Commit
93968bd6
authored
Jun 08, 2016
by
Paul Sokolovsky
Browse files
docs/machine.UART: Cleanup pyboard section.
parent
0a4361ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/library/machine.UART.rst
View file @
93968bd6
...
...
@@ -37,7 +37,7 @@ using the standard stream methods::
uart.readinto(buf) # read and store into the given buffer
uart.write('abc') # write the 3 characters
.. only:: port_
machine
oard
.. only:: port_
pyb
oard
Individual characters can be read/written using::
...
...
@@ -48,9 +48,6 @@ using the standard stream methods::
uart.any() # returns True if any characters waiting
*Note:* The stream functions ``read``, ``write``, etc. are new in MicroPython v1.3.4.
Earlier versions use ``uart.send`` and ``uart.recv``.
.. only:: port_wipy
To check if there is anything to be read, use::
...
...
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