docs/machine.UART: Cleanup pyboard section.

pull/2080/merge
Paul Sokolovsky 2016-06-08 01:32:16 +03:00
rodzic 0a4361ca67
commit 93968bd6fb
1 zmienionych plików z 1 dodań i 4 usunięć

Wyświetl plik

@ -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_machineoard
.. only:: port_pyboard
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::