The received data is not complete

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
Apkgreat
Posts: 1
Joined: Sat Jan 22, 2022 11:08 am
Contact:

The received data is not complete

Post by Apkgreat » Tue Jan 25, 2022 3:03 pm

When programming with uart.readline(), there is a problem that the received data is not complete.
How do I solve the problem?

Lobo-T
Posts: 36
Joined: Tue Nov 16, 2021 2:36 pm

Re: The received data is not complete

Post by Lobo-T » Tue Jan 25, 2022 6:20 pm

Readline will also return after timeout. You need to specify timeout and timeout_char in the UART constructor.

Post Reply