diff options
| author | Lorenz Schmid <lorenzschmid@users.noreply.github.com> | 2016-12-14 23:08:43 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-12-15 09:59:45 +1100 |
| commit | a5b3c7e7f9443319d9330ab6ab06c6b365226082 (patch) | |
| tree | 010a69f77bfbb7dd1cc910504d209d172c665e28 /docs/library/pyb.UART.rst | |
| parent | 0caac94b986bb0b08918b68d48feb4c5a0c4991c (diff) | |
docs/library/pyb.UART: Moved writechar doc to sit with other writes.
Diffstat (limited to 'docs/library/pyb.UART.rst')
| -rw-r--r-- | docs/library/pyb.UART.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/library/pyb.UART.rst b/docs/library/pyb.UART.rst index 4f63c648f..76f347ffa 100644 --- a/docs/library/pyb.UART.rst +++ b/docs/library/pyb.UART.rst @@ -111,11 +111,6 @@ Methods Returns the number of bytes waiting (may be 0). - .. method:: UART.writechar(char) - - Write a single character on the bus. ``char`` is an integer to write. - Return value: ``None``. See note below if CTS flow control is used. - .. method:: UART.read([nbytes]) Read characters. If ``nbytes`` is specified then read at most that many bytes. @@ -167,6 +162,13 @@ Methods Return value: number of bytes written. If a timeout occurs and no bytes were written returns ``None``. +.. only:: port_pyboard + + .. method:: UART.writechar(char) + + Write a single character on the bus. ``char`` is an integer to write. + Return value: ``None``. See note below if CTS flow control is used. + .. method:: UART.sendbreak() Send a break condition on the bus. This drives the bus low for a duration |
