java Programming Glossary: readbuffer
reading serial port in java http://stackoverflow.com/questions/336714/reading-serial-port-in-java inputStream SerialPort serialPort Thread readThread byte readBuffer public static void main String args portList CommPortIdentifier.getPortIdentifiers.. break case SerialPortEvent.DATA_AVAILABLE readBuffer new byte 8 try while inputStream.available 0 int numBytes inputStream.read.. inputStream.available 0 int numBytes inputStream.read readBuffer System.out.println Number of bytes read numBytes System.out.print..
|