⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 windows ce下的串口通信编程--2.htm

📁 WinCE下串口编程应用实例
💻 HTM
📖 第 1 页 / 共 5 页
字号:
         execScript("ascCode=hex(asc(\""+str.charAt(i)+"\"))", "vbscript");         result+=ascCode.replace(/(.{2})/g, "%$1");      }else{         result+=escape(str.charAt(i));      }   }   return result;}if(typeof(channelid) == "undefined") channelid = 0;if(typeof(aid) != "undefined") {	if(typeof(tagname) == "string" && tagname.length > 0) {		document.write(" <a href=\"http://comments.yesky.com/t/"+UrlEncode(tagname)+"/6," + channelid + "/" + aid + ".shtml\" class=\"red-s\"  target=\"_blank\">查看主题:<font color=\"#FF0000\">" + tagname + "</font>的内容</a>");	} else {		document.write(" <a href=\"http://comments.yesky.com/a/6," + channelid + "/" + aid + ".shtml\" class=\"red-s\"  target=\"_blank\">查看所有内容</a>");	}}//--></SCRIPT>
</SPAN>
<SCRIPT language=JavaScript>function showCommentsSpan() {	if(typeof(latest_comments_poster) == "object" && latest_comments_poster.length && latest_comments_poster.length > 0) {		var re = /(\[s(\d{1,2})\])/ig;		var str = "<div class=\"wzplcontent\">";		str += "本文最新主题 共(<span class=\"fontcolor\">"+ latest_comments_num +"</span>)条";		if(typeof(tagname) == "string" && tagname.length > 0) {			str += " &gt;&gt; &gt;&gt; &gt;&gt;  <a href=\"http://comments.yesky.com/t/" + UrlEncode(tagname) + "/6," + channelid + "/" + aid + ".shtml\" target=\"_blank\" class=\"red-s\"><b>查看主题:</b><font color=\"#FF0000\">" + tagname + "</font>所有主题</a> &lt;&lt; &lt;&lt; &lt;&lt; ";		} else {			str += " &gt;&gt; &gt;&gt; &gt;&gt; <a href=\"http://comments.yesky.com/a/6," + channelid + "/" + aid + ".shtml\" target=\"_blank\" class=\"red-s\">查看该文章所有相关主题</a> &lt;&lt; &lt;&lt; &lt;&lt; ";		}		str += "</div>";		var hasVisits = typeof(latest_comments_visits) == "object" && latest_comments_visits.length > 0;		 var hasTag = typeof(latest_comments_tagid) == "number" && latest_comments_tagid > 0;		if(hasVisits) {			str += "<table width=\"99%\" border=\"1\" cellspacing=\"0\" cellpadding=\"2\" align=\"center\" style=\"line-height: 120%\" bordercolor=\"#FFFFFF\" bordercolorlight=\"#D0CCD0\">"	+"\n"+			" <tr bgcolor=\"#FFFFFF\">"	+"\n"+			"    <td width=\"7%\">点击</td>"	+"\n"+			"    <td width=\"7%\">回贴</td>"	+"\n"+			"    <td width=\"50%\">标题</td>"	+"\n"+			"    <td width=\"15%\">发表时间</td>"	+"\n"+			"    <td width=\"21%\">发表人</td>"	+"\n"+			"</tr>"	;			for (i = 0; i < latest_comments_poster.length && i < 10; i++) {				str += "<tr bgcolor=\"#F6F6F6\">"	+"\n"+				"	<td>" + latest_comments_visits[i] + "</td>"	+"\n"+				"	<td>" + latest_comments_replies[i] + "</td>";				var url;				if (hasTag) {					url = "http://comments.yesky.com/l/" + latest_comments_id[i] + "/" + latest_comments_tagid + "/" + latest_comments_type[i] + "," + channelid + "/" + latest_comments_rfid[i] + ".shtml"				} else {					url = "http://comments.yesky.com/l/" + latest_comments_id[i] + "/" + 0 + "/" + latest_comments_type[i] + "," + channelid + "/" + latest_comments_rfid[i] + ".shtml"				}				str += "	<td><a href=\"" + url + "\" target=\"_blank\">" + latest_comments_contents[i].replace(re,"<img src=/TLimages/smile/face$2.gif border=0 align=middle> ") + "</a></td>"	+"\n"+				"	<td><font color=\"#CC6600\">" + latest_comments_postdate[i] + "</font></td>"	+"\n"+				"	<td nowrap=\"\" ><font color=\"#FF3300\">" + latest_comments_poster[i] + "</font></td>"	+"\n"+				"</tr> ";			}			str += "</table>";		} else {			var hasLevel = typeof(latest_comments_level) == "object";			str += "<div class=\"wzplcontent\">";			str += "<ul class=\"spaceListul\">";			for (i = 0; i < latest_comments_poster.length && i < 10; i++) {				if(hasLevel) {					str += "[" + latest_comments_level[i] + "楼:<span class=\"fontcolor\">";				} else {					str += "[ <span class=\"fontcolor\">";				}				str += latest_comments_poster[i];				str += "</span>]  ";				str += latest_comments_contents[i].replace(re,"<img src=/TLimages/smile/face$2.gif border=0 align=middle> ");				str += "  (";				str += latest_comments_postdate[i];				str += "  )<br/>";			}			str += "</ul></div>";		}		commentsSpanText.innerHTML = str;	} else {		var str = "<div>";		str += "目前本文还没有相关主题。立即发表主题,马上成为本文的第一个发表者!";		str += "</div>";		commentsSpanText.innerHTML = str;	}}</SCRIPT>

<SCRIPT language=JavaScript><!--if(typeof(aid) != "undefined") {	if(typeof(tagname) == "string" && tagname.length > 0) {		document.write("<script language=\"JavaScript\" charset=\"gb2312\"  src=\"http://comments.yesky.com/tagview/"+(getTagId(tagname)%5000)+"/"+getTagId(tagname)+".js\"><\/script>");	} else {		document.write("<script language=\"JavaScript\" charset=\"gb2312\"  src=\"http://comments.yesky.com/articlereview/6/"+(aid%5000)+"/"+aid+".js\"><\/script>");	} }//--></SCRIPT>
</DIV>
<DIV class=pinlunguan3>
<DIV class=pinlunguan1>
<SCRIPT src="Windows CE下的串口通信编程--2.files/uc.js" type=""></SCRIPT>
发表主题:(Html:禁止,UBB:允许) 
<FORM name=frmReviewPost action=http://comments.yesky.com/review.post.do 
method=post target=_blank><INPUT type=hidden name=tagName> <INPUT type=hidden 
name=rfid> <INPUT type=hidden value=6 name=type> <INPUT type=hidden name=cid> 
笔名:<INPUT size=17 name=userName><INPUT onclick=JavaScript:submitReviewForm(this.form) type=button value=发表主题 name=but><BR>标题:<INPUT 
size=30 name=title><BR><IMG onclick=Cbold() height=22 alt=粗体 
src="Windows CE下的串口通信编程--2.files/bold.gif" width=23 border=0> <IMG 
onclick=Cimage() height=22 alt=图片 src="Windows CE下的串口通信编程--2.files/image.gif" 
width=23 border=0> <IMG onclick=Cswf() height=22 alt=Flash图片 
src="Windows CE下的串口通信编程--2.files/swf.gif" width=23 border=0> <IMG onclick=Cwmv() 
height=22 alt="Media Player视频文件" src="Windows CE下的串口通信编程--2.files/mp.gif" 
width=23 border=0> <IMG onclick=Crm() height=22 alt=realplay视频文件 
src="Windows CE下的串口通信编程--2.files/rm.gif" width=23 border=0> <IMG onclick=Curl() 
height=22 alt=超级连接 src="Windows CE下的串口通信编程--2.files/url1.gif" width=23 border=0> 
<IMG onclick=Cemail() height=22 alt=Email连接 
src="Windows CE下的串口通信编程--2.files/email1.gif" width=23 border=0> <IMG 
onclick=Cdir() height=22 alt=Shockwave文件 
src="Windows CE下的串口通信编程--2.files/Shockwave.gif" width=23 border=0> <TEXTAREA name=contents rows=4 cols=30></TEXTAREA> <BR><A 
href="javascript:addSmile('01')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face01.gif" border=0></A> <A 
href="javascript:addSmile('02')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face02.gif" border=0></A> <A 
href="javascript:addSmile('03')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face03.gif" border=0></A> <A 
href="javascript:addSmile('04')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face04.gif" border=0></A> <A 
href="javascript:addSmile('05')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face05.gif" border=0></A> <A 
href="javascript:addSmile('06')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face06.gif" border=0></A> <A 
href="javascript:addSmile('07')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face07.gif" border=0></A> <A 
href="javascript:addSmile('08')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face08.gif" border=0></A> <A 
href="javascript:addSmile('09')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face09.gif" border=0></A> <A 
href="javascript:addSmile('10')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face10.gif" border=0></A> <BR><A 
href="javascript:addSmile('11')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face11.gif" border=0></A> <A 
href="javascript:addSmile('12')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face12.gif" border=0></A> <A 
href="javascript:addSmile('13')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face13.gif" border=0></A> <A 
href="javascript:addSmile('14')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face14.gif" border=0></A> <A 
href="javascript:addSmile('15')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face15.gif" border=0></A> <A 
href="javascript:addSmile('16')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face16.gif" border=0></A> <A 
href="javascript:addSmile('17')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face17.gif" border=0></A> <A 
href="javascript:addSmile('18')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face18.gif" border=0></A> <A 
href="javascript:addSmile('19')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face19.gif" border=0></A> <A 
href="javascript:addSmile('20')" target=_self><IMG 
src="Windows CE下的串口通信编程--2.files/face20.gif" border=0></A> 
</FORM><BR>请您注意:遵守国家有关法律、法规,尊重网上道德,承担一切因您的行为而直接或间接引起的法律责任。<BR>天极网拥有管理笔名和留言的一切权利。
<SCRIPT language=JavaScript><!--function addSmile(val) {	with (document.frmReviewPost) {		contents.value += "[s" + val + "]";	}}with(document.frmReviewPost) {    if(typeof(comments_nickname) == "string" && comments_nickname.length > 0) {        userName.value = comments_nickname;    } else {        userName.value = "天极网友";    }	if(typeof(aid) != "undefined") rfid.value = aid;	if(typeof(channelid) != "undefined") cid.value = channelid;	if(typeof(tagname) == "string" && tagname.length > 0) {		tagName.value = tagname;	}}function submitReviewForm(f) {    with(f) {        if(rfid.value.length > 0) {			if(userName.value.length ==  0) {				alert("请输入您的笔名!");				userName.focus();				return;			}			if(userName.value.length > 20) {				alert("笔名太长,字数不成超过20!");				userName.focus();				return;			}			if (title.value.length == 0) {				alert("请输入主题标题");				title.focus();				return false;			}			if (title.value.length  > 100) {				alert("标题太长,字数不成超过100");				title.focus();				return false;			}			if(contents.value.length ==  0) {				alert("请输入主题内容");				contents.focus();				return;			}			if(contents.value.length > 2000) {				alert("内容太长,字数不成超过2000");				contents.focus();				return;			}            submit();			contents.value = "";        }    }}//--></SCRIPT>
 </DIV>
<DIV class=right>
<DIV class=pinlunguan2>最新热评<BR><SPAN id=commentsHotestSpanText></SPAN>
<SCRIPT language=JavaScript>  function showCommentsHotestSpan() { if(typeof(hot_comments_rfid) == "object" && hot_comments_rfid.length > 0) {	var hot_max_length = 17;	var str = "";		str += "<ul class=\"titleListul\">";				for (i = 0; i < hot_comments_rfid.length; i+=1) {			if(i <  hot_comments_rfid.length && i < 13) {				var host_comment_title = hot_comments_title[i];				if(host_comment_title.length > hot_max_length) {					host_comment_title = host_comment_title.substring(0, hot_max_length);				}				//str += "<li class=\"titleListli\">";				str += "";				str += "<a href=\"" + hot_comments_url[i] + "\" title=\""+hot_comments_title[i]+"\">"+ host_comment_title +"</a> ";				str += " ("+hot_comments_num[i]+")";				str += "<br/>";				//str += "</li>";			}		}	str += "</ul>";   	commentsHotestSpanText.innerHTML = str; }}//--></SCRIPT>
<!--document.write("<script language=\"JavaScript\" charset=\"gb2312\" defer src=\"http://comments.yesky.com/review.hotest.do?type=6&cid="+channelid+"&num=10\"><\/script>");-->
<SCRIPT language=JavaScript>if(typeof(channelid) != "undefined") {	document.write("<script language=\"JavaScript\" charset=\"gb2312\"  src=\"http://comments.yesky.com/channlereview/6/"+(channelid%5000)+"/"+channelid+".js\"><\/script>");}</SCRIPT>
</DIV></DIV></DIV></DIV><!--结束-->
<DIV class=clear1></DIV><!--相关文章-->
<DIV class=newxiangguan>
<DIV class=newxiangguanmenu><IMG height=11 
src="Windows CE下的串口通信编程--2.files/inverse1-dht.gif" width=22>相关内容 </DIV>
<DIV class=newxiangguancontent>
<LI><A 
href="http://www.yesky.com/352/1786352.shtml">WinCE嵌入式开发程序入门</A>(2004-04-12 
11:26) 
<LI><A href="http://www.yesky.com/275/1788275.shtml">Windows 
CE开发之起步停车</A>(2004-04-16 10:47) 
<LI><A href="http://www.yesky.com/138/1878138.shtml">浅析Windows 
CE下浏览器源码</A>(2004-11-20 06:00) 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -