Reading from the serial is unreliable. #2495
Unanswered
M0hammedImran
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is my code.
Whenever I write something to serial, I expect a response. The responses usually ends with
Done
.But when I tried to run the code on Raspberry Pi 3. The response is unreliable. Sometimes its
'D'
,'Do'
and<empty string>
.Is there something wrong with my code, or is there something I can do to improve the reliability.
Here's the codebase https://github.com/m0hammedimran/serial-io
Beta Was this translation helpful? Give feedback.
All reactions