<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
		<id>https://zh-cn.arcowiki.com/index.php?action=history&amp;feed=atom&amp;title=%E5%B0%86%E5%80%BC%E5%86%99%E5%85%A5%E4%B8%B2%E8%A1%8C%E7%AB%AF%E5%8F%A3</id>
		<title>将值写入串行端口 - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="https://zh-cn.arcowiki.com/index.php?action=history&amp;feed=atom&amp;title=%E5%B0%86%E5%80%BC%E5%86%99%E5%85%A5%E4%B8%B2%E8%A1%8C%E7%AB%AF%E5%8F%A3"/>
		<link rel="alternate" type="text/html" href="https://zh-cn.arcowiki.com/index.php?title=%E5%B0%86%E5%80%BC%E5%86%99%E5%85%A5%E4%B8%B2%E8%A1%8C%E7%AB%AF%E5%8F%A3&amp;action=history"/>
		<updated>2026-05-04T20:24:44Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://zh-cn.arcowiki.com/index.php?title=%E5%B0%86%E5%80%BC%E5%86%99%E5%85%A5%E4%B8%B2%E8%A1%8C%E7%AB%AF%E5%8F%A3&amp;diff=354&amp;oldid=prev</id>
		<title>Slia：创建页面，内容为“This is used to write strings to a COM port, a typical use is to send to the information to an external software or device.&lt;br/&gt; The string to set the port is as fol…”</title>
		<link rel="alternate" type="text/html" href="https://zh-cn.arcowiki.com/index.php?title=%E5%B0%86%E5%80%BC%E5%86%99%E5%85%A5%E4%B8%B2%E8%A1%8C%E7%AB%AF%E5%8F%A3&amp;diff=354&amp;oldid=prev"/>
				<updated>2018-06-29T10:22:32Z</updated>
		
		<summary type="html">&lt;p&gt;创建页面，内容为“This is used to write strings to a COM port, a typical use is to send to the information to an external software or device.&amp;lt;br/&amp;gt; The string to set the port is as fol…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is used to write strings to a COM port, a typical use is to send to the information to an external software or device.&amp;lt;br/&amp;gt;&lt;br /&gt;
The string to set the port is as follow:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;‘PortName:Speed,Parity,Bit,Control’&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This statement is manually written without user interface.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$Begin Example&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;DECL/CHAR,10,my_var&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;DECL/INTGR,ii&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;my_var=ASSIGN/'Here the value assigned!'&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$Open the COM port&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;DID(my_com_device)=DEVICE/COMM,'com3:9600,n,8,1'&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;OPEN/DID(my_com_device),DIRECT,INPUT&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;code&amp;gt;DO/ii,1,10,1&amp;lt;/code&amp;gt;&lt;br /&gt;
::::::&amp;lt;code&amp;gt;WRITE/DID(my_com_device),'Here the String WRITTEN directly!!'&amp;lt;/code&amp;gt;&lt;br /&gt;
:::::&amp;lt;code&amp;gt;WRITE/DID(my_com_device),my_var&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;code&amp;gt;ENDDO&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$Closing the Port&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;CLOSE/DID(my_com_device)&amp;lt;/code&amp;gt;&lt;br /&gt;
[[it:Scrittura dei valori su Serial Port]]&lt;br /&gt;
[[zh-cn:将值写入串行端口]]&lt;br /&gt;
[[de:Schreiben von Werten in den seriellen Port ]]&lt;br /&gt;
[[pt: Escrevendo valores para a porta serial:]]&lt;br /&gt;
[[es:Escribir valores en el puerto serie]]&lt;br /&gt;
[[en:Writing values to Serial Port]]&lt;/div&gt;</summary>
		<author><name>Slia</name></author>	</entry>

	</feed>