mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-22 08:22:04 +03:00
updated rxtx libs to every OS
This commit is contained in:
@ -159,6 +159,8 @@ public class Serial implements SerialPortEventListener {
|
||||
if (portId.getName().equals(iname)) {
|
||||
//System.out.println("looking for "+iname);
|
||||
port = (SerialPort)portId.open("serial madness", 2000);
|
||||
port.setDTR(true);
|
||||
port.setRTS(true);
|
||||
input = port.getInputStream();
|
||||
output = port.getOutputStream();
|
||||
port.setSerialPortParams(rate, databits, stopbits, parity);
|
||||
|
Reference in New Issue
Block a user