Package jturbojet.serial

Examples of jturbojet.serial.SerialDAO


        switch (e.getActionCommand()) {
            case "connect": {
                if (serial == null) {
                    con.setText("Disconnect");
                    output.setText("");
                    serial = new SerialDAO(portb.getSelectedItem().toString(),
                            SerialPort.BAUDRATE_9600, SerialPort.DATABITS_8,
                            SerialPort.STOPBITS_1, SerialPort.PARITY_NONE, this);
                    serial.startReading();
                    setInfoText("Started reading " + serial.getPortName());
                } else if (serial != null) {
View Full Code Here

TOP

Related Classes of jturbojet.serial.SerialDAO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.