Page 1 of 1

Reading USB Port with an USB/UART Bridge

Posted: Mon May 13, 2013 5:58 pm
by Kampi
Hello Guys,

I´m looking for a good way to read a serial Port from my Raspberry Pi.
The recieved String has no fixed length and my first Version of the Code won´t work very well. I have to start the Programm 4-5 times and then it works.

Thank you for help.

Re: Reading USB Port with an USB/UART Bridge

Posted: Mon May 13, 2013 8:43 pm
by DaveDriesen
I would imagine the code you speak of is quite small? Is it C++? Can you post the essence of it?

First thought: uninitialised variable(s)? :geek:

Dave Driesen
Linux dev and oldskool elite