Extra Keyword Arguments Given using uart.init #11535
-
Hello, I am using Micropython on a PI Pico W. with Thonny 4.0.2 and I am trying to use uart.init to set parameters but I keep getting an error.
And I also tried...
with the same results. I hope I fully read https://docs.micropython.org/en/latest/library/pyb.UART.html correctly. Thank you for your time!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is no
That's the docs for the (legacy) |
Beta Was this translation helpful? Give feedback.
There is no
read_buf_len
onmachine.UART
. You wantrxbuf
I think.That's the docs for the (legacy)
pyb.UART
class that just exists on stm32/pyboard. You want the docs formachine.UART
.https://docs.micropython.org/en/latest/library/machine.UART.html