You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same problem. Not sure if that's the best way to solve this, but what I did is implement my own ReadWithTimeout trait, based on the Read trait from embedded_io:
I am trying to read a success code that is sent to my ESP by a UART sensor. To do so, I use read_exact this way
Can I set a read timeout in case the sensor never responds?
There seems to be uart_set_rx_timeout but I couldn’t find any function that does this in the wrappers.
The text was updated successfully, but these errors were encountered: