Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
a5b3c7e7
Commit
a5b3c7e7
authored
8 years ago
by
Lorenz Schmid
Committed by
Damien George
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
docs/library/pyb.UART: Moved writechar doc to sit with other writes.
parent
0caac94b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/library/pyb.UART.rst
+7
-5
7 additions, 5 deletions
docs/library/pyb.UART.rst
with
7 additions
and
5 deletions
docs/library/pyb.UART.rst
+
7
−
5
View file @
a5b3c7e7
...
@@ -111,11 +111,6 @@ Methods
...
@@ -111,11 +111,6 @@ Methods
Returns the number of bytes waiting (may be 0).
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])
.. method:: UART.read([nbytes])
Read characters. If ``nbytes`` is specified then read at most that many bytes.
Read characters. If ``nbytes`` is specified then read at most that many bytes.
...
@@ -167,6 +162,13 @@ Methods
...
@@ -167,6 +162,13 @@ Methods
Return value: number of bytes written. If a timeout occurs and no bytes
Return value: number of bytes written. If a timeout occurs and no bytes
were written returns ``None``.
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()
.. method:: UART.sendbreak()
Send a break condition on the bus. This drives the bus low for a duration
Send a break condition on the bus. This drives the bus low for a duration
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment