How to Get Data from external device. device connected via serial port..
i want read device passing value ..
am try to code here
Qt Code:
ui->setupUi(this); serial.setPortName("/dev/ttyS0"); serial.setBaudRate(QSerialPort::Baud9600); serial.setDataBits(QSerialPort::Data8); serial.setParity(QSerialPort::NoParity); serial.setStopBits(QSerialPort::OneStop); serial.setFlowControl(QSerialPort::NoFlowControl);To copy to clipboard, switch view to plain text mode
after how to ready port value
Bookmarks