findText(Info.portName());    &nb-IMDN开发者社群-imdn.cn"> findText(Info.portName());    &nb - IMDN开发者社群-imdn.cn">
登录
首页 » c++ » 串口通信 上位机模板 QT485 串口助手

串口通信 上位机模板 QT485 串口助手

于 2022-10-15 发布 文件大小:590.13 kB
0 44
下载积分: 2 下载次数: 1

代码说明:

SerialPortSetting::SerialPortSetting(QWidget *parent) : QDialog(parent) {     setupUi(this);     setFixedSize(220, 319);     checkAPButton->setIcon(QIcon(":/images/finger_up.png"));     emit checkAvailablePorts(); } //检测可用串口并在可用串口号后面加上可用标志 void SerialPortSetting::checkAvailablePorts() {     foreach ( const QSerialPortInfo &Info, QSerialPortInfo::availablePorts()) {          //QSerialPort availablePort;          //availablePort.setPortName(Info.portName());          //if (availablePort.open(QIODevice::ReadWrite)) {             int index = comCB->findText(Info.portName());     &nb

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • LGT8F690A_5WQI(无线充完整PCB工程+源代码)
    wireless charging design.(wireless charging)
    2020-06-17 08:40:02下载
    积分:1
  • 平衡小车电机位置闭环控制
    说明:  可以实现平衡小车的位置闭环控制,但是平衡时间不久,需要加入速度环控制(Closed-loop control of the position of the balancing car can be realized, but the speed loop control is needed soon after the balancing time.)
    2020-06-24 09:40:07下载
    积分:1
  • ypz
    遗传算法的概念最早是由Bagley J.D在1967年提出的;而开始遗传算法的理论和方法的系统性研究的是1975年,这一开创性工作是由Michigan大学的J.H.Holland所实行。当时,其主要目的是说明自然和人工系统的自适应过程。 (The concept of genetic algorithm by the Bagley JD was first proposed in 1967 and start method of genetic algorithm theory and systematic research in 1975, this pioneering work is undertaken by the University of Michigan JHHolland the practice. At that time, its main purpose is to describe the natural and artificial adaptive process.)
    2010-12-21 11:12:01下载
    积分:1
  • Simple-Trojan
    基于TCP的简单木马,取对方系统信息,将对方鼠标左右对调等(Simple TCP-based Trojan, take the other system information, such as the mouse around each swap)
    2014-03-29 17:46:25下载
    积分:1
  • 33system
    微电网遗传算法优化,33节点的配电网网络重构,适合初学者学习(Microgrid genetic algorithm optimization, 33 node distribution network reconfiguration, suitable for beginners to learn.)
    2020-11-17 11:19:40下载
    积分:1
  • xsy
    数据结构课程设计,链表的插入删除操作,结构合理功能全面(Curriculum design, data structure, linked list insertion deletion, reasonable structure fully functional)
    2011-09-06 14:45:42下载
    积分:1
  • ACE_SSL
    说明:  底层使用,你懂的,主要用于运行特定通讯程序的底层调用功能(You will kown how use it.)
    2019-11-13 11:39:26下载
    积分:1
  • mac_lte_logger
    MAC LTE LOGGER Wireshark
    2009-06-19 20:55:43下载
    积分:1
  • S7ReadWrite_8266
    codigo fuente para esclavo esp8266 comunicacion con plc de siemens(source code for esp8266 and profinet plc siemens)
    2020-06-17 04:20:01下载
    积分:1
  • AVR单片机SPI通讯实例程序
    单片机spi简单实例代码,有一定的参考价值。分享给大家(SCM SPI simple example code, there is a certain reference value. Share it with you.)
    2018-11-08 10:10:18下载
    积分:1
  • 696518资源总数
  • 104321会员总数
  • 14今日下载