diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-08 01:32:16 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-08 01:32:16 +0300 |
commit | 93968bd6fb15d1d49e0c2e4a2d412250cc653057 (patch) | |
tree | 6f19e7d834004af1b06b09debb3f3ba2880b7147 | |
parent | 0a4361ca671d4fc2b69543c2e7f787ae21467a67 (diff) | |
download | micropython-93968bd6fb15d1d49e0c2e4a2d412250cc653057.tar.gz micropython-93968bd6fb15d1d49e0c2e4a2d412250cc653057.zip |
docs/machine.UART: Cleanup pyboard section.
-rw-r--r-- | docs/library/machine.UART.rst | 5 |
1 files changed, 1 insertions, 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:: |