Search found 2 matches
- Fri Oct 22, 2021 3:40 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico stops writing to UART via uasyncio and Stream
- Replies: 2
- Views: 1215
Re: Pico stops writing to UART via uasyncio and Stream
So I further simplified my code using only one UART for reading & writing, but now in a synchronous manner as suggested. I stripped out all asyncio and Stream usage, please see code below. With the result, that the code is running flawlessly now for +36 hours. In another test, I modified my original...
- Sun Oct 17, 2021 4:26 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico stops writing to UART via uasyncio and Stream
- Replies: 2
- Views: 1215
Pico stops writing to UART via uasyncio and Stream
Hi, I have a Pico and the problem that UART reading & writing via uasyncio Streams stalls after some time. Using following recent pre-built version: MicroPython v1.17 on 2021-09-02; Raspberry Pi Pico with RP2040 The final goal is to attach multiple sensors to it and report status via UART to a prett...