Closedown

This commit is contained in:
gac-S_Changer
2017-08-31 17:17:04 +02:00
parent 5fd3491a7d
commit a7ff0ea143

View File

@@ -14,14 +14,14 @@ public class LaserUE extends SerialPortDevice{
public LaserUE(String name, String port) {
super(name, port, 921600, SerialPortDeviceConfig.DataBits.DB_8, SerialPortDeviceConfig.StopBits.SB_1, SerialPortDeviceConfig.Parity.None);
this.setMode(Mode.FullDuplex);
//this.setMode(Mode.FullDuplex);
}
int value = 0;
int count = 0;
@Override
protected void onByte(int rx) {
//@Override
protected void onBytee(int rx) {
System.out.print(rx);
if (rx < 0) {
count = 0;