This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

read two input via usart without losing anything

Hello
In my project I should read two usart input ports without losing my input data.Each input should gets a string's length of 120 each 10ms.How can I handle both of them?

I think I can do with two thread such as this diagram
obrazki.elektroda.pl/7019832800_1473252743.png
(does it possible easily or not?)

Or can do it with a simple approach instead of using multi-threading?

Thanks