Commit fabaa614 authored by Damien George's avatar Damien George
Browse files

docs/library/machine.UART: Remove pyboard-specific section.

stmhal doesn't have a machine.UART class so this section is not needed.
parent e75fd3a8
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment