Rev 313 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 313 | Rev 358 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | TTY = new ManageSerialPort(); |
25 | TTY = new ManageSerialPort(); |
26 | o_Timer = new QTimer(this); |
26 | o_Timer = new QTimer(this); |
Line 27... | Line 27... | ||
27 | 27 | ||
Line 28... | Line 28... | ||
28 | connect(o_Timer, SIGNAL(timeout()), SLOT(slot_Timer())); |
28 | connect(o_Timer, SIGNAL(timeout()), SLOT(slot_Timer())); |
29 | 29 | ||
30 | TTY->setBaudRate(BAUD57600); //BaudRate |
30 | TTY->setBaudRate(BAUD57600); //BaudRate |
31 | TTY->setDataBits(DATA_8); //DataBits |
31 | TTY->setDataBits(DATA_8); //DataBits |
32 | TTY->setParity(PAR_NONE); //Parity |
32 | TTY->setParity(PAR_NONE); //Parity |
Line 33... | Line 33... | ||
33 | TTY->setStopBits(STOP_1); //StopBits |
33 | TTY->setStopBits(STOP_1); //StopBits |
34 | TTY->setFlowControl(FLOW_OFF); //FlowControl |
34 | TTY->setFlowControl(FLOW_OFF); //FlowControl |
35 | 35 |