From fabaa6143745cf09928dfc13367ddc91e0eb9ad2 Mon Sep 17 00:00:00 2001 From: Damien George <damien.p.george@gmail.com> Date: Tue, 18 Apr 2017 12:13:51 +1000 Subject: [PATCH] docs/library/machine.UART: Remove pyboard-specific section. stmhal doesn't have a machine.UART class so this section is not needed. --- docs/library/machine.UART.rst | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/library/machine.UART.rst b/docs/library/machine.UART.rst index 55a5f354d..c29d079b7 100644 --- a/docs/library/machine.UART.rst +++ b/docs/library/machine.UART.rst @@ -32,17 +32,6 @@ using the standard stream methods:: uart.readinto(buf) # read and store into the given buffer uart.write('abc') # write the 3 characters -.. only:: port_pyboard - - Individual characters can be read/written using:: - - uart.readchar() # read 1 character and returns it as an integer - uart.writechar(42) # write 1 character - - To check if there is anything to be read, use:: - - uart.any() # returns True if any characters waiting - Constructors ------------ -- GitLab