Skip to content
Discussion options

You must be logged in to vote

uart.init(115200, 8, None, 0, timeout=10, timeout_char=10, read_buf_len=512)

There is no read_buf_len on machine.UART. You want rxbuf I think.

I hope I fully read https://docs.micropython.org/en/latest/library/pyb.UART.html correctly.

That's the docs for the (legacy) pyb.UART class that just exists on stm32/pyboard. You want the docs for machine.UART.
https://docs.micropython.org/en/latest/library/machine.UART.html

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HopWorks
Comment options

Answer selected by HopWorks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants