From 93968bd6fb15d1d49e0c2e4a2d412250cc653057 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 8 Jun 2016 01:32:16 +0300 Subject: [PATCH] docs/machine.UART: Cleanup pyboard section. --- docs/library/machine.UART.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/library/machine.UART.rst b/docs/library/machine.UART.rst index 5552b9dd72..81e75e1ea3 100644 --- a/docs/library/machine.UART.rst +++ b/docs/library/machine.UART.rst @@ -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::