摘要: 原文:http://apps.hi.baidu.com/share/detail/6144871到这里可以下载本文的PDF文档:http://download.csdn.net/source/1763251(说明:我们的编程环境是windows xp下,在Qt Creator中进行,如果在Linux下或直接用源码编写,程序稍有不同,请自己改动。)(在Linux下写串口通信程序。首先portName应该改为/dev/ttyS0, 然后QextSerialBase::EventDriven需要改为QextSerialBase::Polling,也就是说,Linux下不支持事件驱动,这就是麻烦所在, 阅读全文
posted @ 2011-04-02 14:57 淡茶gis 阅读(5957) 评论(0) 推荐(0) 编辑