Skip to content
Snippets Groups Projects
Commit 93968bd6 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

docs/machine.UART: Cleanup pyboard section.

parent 0a4361ca
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ using the standard stream methods:: ...@@ -37,7 +37,7 @@ using the standard stream methods::
uart.readinto(buf) # read and store into the given buffer uart.readinto(buf) # read and store into the given buffer
uart.write('abc') # write the 3 characters uart.write('abc') # write the 3 characters
.. only:: port_machineoard .. only:: port_pyboard
Individual characters can be read/written using:: Individual characters can be read/written using::
...@@ -48,9 +48,6 @@ using the standard stream methods:: ...@@ -48,9 +48,6 @@ using the standard stream methods::
uart.any() # returns True if any characters waiting 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 .. only:: port_wipy
To check if there is anything to be read, use:: To check if there is anything to be read, use::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment