Re: new libraries to access serial ports
- Posted by lpuster Oct 19, 2010
- 2628 views
Your library works well for me, except for one thing: If I try to read the input stream when there are no bytes in the buffer, the whole computer locks up waiting for data.
How can I test to see if the input buffer is empty or not?
There must be a way to do it, as every terminal program waits for input and displays it whenever it comes without locking up. Can I hook into the serial port interrupt chain?