An open API service indexing awesome lists of open source software.

https://github.com/barismeral/java-serial-port

Custom basic Serial Port Communication for Java
https://github.com/barismeral/java-serial-port

c c-plus-plus communication java java-8 java-library library serial-communication serial-port serialport simple windows

Last synced: 4 months ago
JSON representation

Custom basic Serial Port Communication for Java

Awesome Lists containing this project

README

          

## Custom basic Serial Port Communication for Java

# Usage



// create port

SerialPort port = new SerialPort();

// port settings

port.setBaudRate(9600);

port.setDataBits(8);

port.setParity(Parity.NONE);

port.setStopBits(StopBits.ONE);

port.setPortName("COM20");

//writing & reading

port.write("Hello, World");

String str = port.read();

// port open or close

port.open();

port.close();

# Please Fork