Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

UART is missing timeout parameter #7

Open
couillonnade opened this issue May 8, 2023 · 0 comments · May be fixed by #8
Open

UART is missing timeout parameter #7

couillonnade opened this issue May 8, 2023 · 0 comments · May be fixed by #8

Comments

@couillonnade
Copy link

Hello,

UART is missing timeout parameter in RP2 port.

image

The parameter is in the documentation here: https://docs.micropython.org/en/latest/library/machine.UART.html#machine-uart

There are other missing parameters that I am not sure apply to RP2:

rts specifies the RTS (output) pin to use for hardware receive flow control.
cts specifies the CTS (input) pin to use for hardware transmit flow control.
txbuf specifies the length in characters of the TX buffer.
rxbuf specifies the length in characters of the RX buffer.
timeout specifies the time to wait for the first character (in ms).
timeout_char specifies the time to wait between characters (in ms).
invert specifies which lines to invert.

Generally speaking I am not sure how to know what apply to specific port, like RP2, without testing on the board but the doc suggest that all those parameters apply.

Also not sure if you accept Pull Request and if you have some documentation for contributions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant