반응형 Serial1 자바 시리얼 통신 ( JSSC 라이브러리) 하기!! - 그리고 통신 출력시 깨짐현상 해결! 간단하게 소스만 보여드릴께여 public class SerialConn { public static void main(String[] args) throws Exception { String[] portNames = SerialPortList.getPortNames(); for(int i=0; i< portNames.length; i++) { System.out.println(portNames[i]); } SerialPort serialPort = new SerialPort("COM7"); serialPort.openPort(); serialPort.setParams(SerialPort.BAUDRATE_19200, SerialPort.DATABITS_8, SerialPort.STOPBITS_1, Seri.. 2020. 8. 4. 이전 1 다음