mirror of https://github.com/noisymime/Arduino.git
updated rxtx libs to every OS
This commit is contained in:
parent
f4cd50b8ac
commit
b57701ed01
Binary file not shown.
|
@ -159,6 +159,8 @@ public class Serial implements SerialPortEventListener {
|
||||||
if (portId.getName().equals(iname)) {
|
if (portId.getName().equals(iname)) {
|
||||||
//System.out.println("looking for "+iname);
|
//System.out.println("looking for "+iname);
|
||||||
port = (SerialPort)portId.open("serial madness", 2000);
|
port = (SerialPort)portId.open("serial madness", 2000);
|
||||||
|
port.setDTR(true);
|
||||||
|
port.setRTS(true);
|
||||||
input = port.getInputStream();
|
input = port.getInputStream();
|
||||||
output = port.getOutputStream();
|
output = port.getOutputStream();
|
||||||
port.setSerialPortParams(rate, databits, stopbits, parity);
|
port.setSerialPortParams(rate, databits, stopbits, parity);
|
||||||
|
|
Binary file not shown.
BIN
build/macosx/template.app/Contents/Resources/Java/librxtxSerial.jnilib
Executable file → Normal file
BIN
build/macosx/template.app/Contents/Resources/Java/librxtxSerial.jnilib
Executable file → Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue