-
Hi, My question is whether the Serial1.println() and Serial1.readString() is supported on Raspberry Pi Pico/RP2040 ver 1.8.2, and if so, do I need to include an additional library or use some other format to make it work as it does on the Mbed OS RP2040 system. The operation seems to freeze around the following line:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Yes, they should all work. It;s most likely a bug in the core. I haven't done extensive input testing on the UART Serial ports, but looks like I need to. Thanks for the example, I'll give it a go later today. I should also probably add a loopback example like Also, just FYI, in this core the |
Beta Was this translation helpful? Give feedback.
-
@earlephilhower. Thanks very much for your quick response. That has solved the problem. |
Beta Was this translation helpful? Give feedback.
-
@earlephilhower. Have you ever try receiving string longer than 32 bytes through Serial1(UART0) or Serial2 (UART1)? I have tried 125 characters. Just receive some of them with readString( ) or readStringUntil( ) or add in each character into an array. |
Beta Was this translation helpful? Give feedback.
@earlephilhower. Thanks very much for your quick response. That has solved the problem.