巧用VB的Byte型变量实现与单片通讯  被引量:1

Realization of Communication with Single - Chip Microcomputer by Using BYTE Variable of VB

在线阅读下载全文

作  者:陈海云 

机构地区:[1]山东省沂水县电业局,沂水276000

出  处:《山东电力高等专科学校学报》1999年第2期68-70,共3页Journal of Shandong Electric Power College

摘  要:本文分析Visual BASIC串行通讯控件的特点,提出利用 AscB()函数和Byte型变量处理通讯数据,消除了使用String型变量只能处理ASCll码为00H—7FH的文本字符的缺陷,真正实现 Windows环境下 PC机与单片机的通讯。This paper analysis the characteristics of the serial communication unit of Visual Basic, and uses the AscB( ) and BYTE variable to handle the data. This method remedies the defects of STRING variable, which can only process the characters whose ASCII codes are between 00H - 7FH, and realizes the communication between a PC and a single- chip microcomputer under Windows environment.

关 键 词:串行异步通讯 WINDOWS VB 单片机 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象