|
hzzhou 发表于 2013-7-9 23:40
你试试这样 myCom = new QextSerialPort("/dev/ttyS0",QextSerialBaselling);
看看行不行。另外,是不 ...
应该使用myCom = new QextSerialPort("/dev/ttyS0",QextSerialPort:olling);就可以了。但是 connect(obotimer, SIGNAL(timeout()), this, SLOT(sendMsg()));连续发送数据却不行,原因是否与polling有关?
|
|