📄 8829.html
字号:
<html>
<head>
<title>Re: 请问如何用MSComm控制项控制RS232???? </title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: 请问如何用MSComm控制项控制RS232???? </h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:told_me@hotmail.com">Tommy_Lee</a> on January 04, 1999 at 14:09:05:<p>
In Reply to: <a href="8826.html">请问如何用MSComm控制项控制RS232???? </a> posted by Frankie Chan on January 04, 1999 at 12:10:46:<p>
: I don't know how to control I/O using VB??<br>: Because I need to send the file from PC to 8051 Interface board.<p> U can use these commands as following:<br> MSComm1.CommPort = 2 ' open com2<br> MSComm1.Settings = "9600,N,8,1" <br> ' the protocal setting<br> MSComm1.PortOpen = True ' open true<br> MSComm1.Output = "OutputString"<br> InString = MSComm1.Input 'receive the input<br>U can get more informations in VB's samples\comm <p>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 8829-->
</ul><!--end: 8829-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -