Jeanmarie Waska . . Joined Jul 30, 2021 Messages 20 Likes 3 Aug 20, 2021 #1 Raspberry Pi pico reads the serial data with uart.readline() will accept incomplete data. How do I solve this problem?
Raspberry Pi pico reads the serial data with uart.readline() will accept incomplete data. How do I solve this problem?
cheese the tallest memer in town Staff member . . . Joined Mar 2, 2016 Messages 2,768 Likes 2,465 Location Florida Aug 26, 2021 #2 Make sure to specify a timeout, this way the pi will wait at least that long before returning incomplete data to you. You can also store the incomplete data until you get to the end of a line.
Make sure to specify a timeout, this way the pi will wait at least that long before returning incomplete data to you. You can also store the incomplete data until you get to the end of a line.