How to read UART without blocking #4574
Replies: 1 comment 2 replies
-
|
I looked into the source code and the so called non-blocking function calls another function that literally blocks operation |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
Im running esp-hal (no_std) on an esp-wroom-32, and im trying to read UART without blocking. But the read function is blocking when there are no bytes even though the docs specificy non blocking operation.

This is the code im using, trying to make a function that will either return a full line or nothing if there isnt a full line available.
I have tried using
embedded_hal_nbbut i just ended up with trait errors on read().Beta Was this translation helpful? Give feedback.
All reactions