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
Will Hedgecock edited this page Jan 10, 2019
·
9 revisions
If you prefer to use the standardized Java InputStream/OutputStream interfaces to interact with the serial port, you can do so by requesting these interfaces directly from the SerialPort object as follows:
Note: The call to setComPortTimeouts() is unnecessary as the library will function correctly without it; however, setting a semi-blocking read timeout with a value of 0 will ensure that no SerialPortTimeoutExceptions are thrown.