检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王岩[1] 孔祥新[1] 董笑甜 刘童[1] 丁一[1]
机构地区:[1]工学院曲阜师范大学,山东省日照市276826
出 处:《电子技术(上海)》2016年第1期71-73,共3页Electronic Technology
基 金:曲阜师范大学校级创新项目经费资助
摘 要:文章介绍的ASCII型通讯协议是通过C语言编程实现的,通过对各种命令格式的定义以及单片机和组态王各对应参数的配置,实现了单片机与King View的通讯,用户可以直接利用King View软件中提供的通用单片机ASCII串口实现对单片机按键状态和继电器开关状态的采集。经过实验验证,结果表明该程序具有稳定性、可移植性、实用性等优点。The article introduces the ASCII type communication protocol is realized by C language programming, through the definition of various command format and MCU and the corresponding parameters of King View configuration, realize the single chip microcomputer and King View communication, users can directly use King View software provided in the general microcontroller ASCII a serial port of single chip microcomputer button state and the state of the relay switch acquisition. Through the experiment, the results show that the program has the advantages of stability, portability and practicality.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222