📄 触摸屏试验--周绪宏.htm
字号:
<P class=MsoNormal style="BACKGROUND: #f3f3f3; MARGIN: 0cm 0cm 0pt"><SPAN
lang=EN-US><FONT size=3><FONT face="Times New Roman"><SPAN
style="mso-tab-count: 1"> </SPAN>return
0;</FONT></FONT></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #f3f3f3; MARGIN: 0cm 0cm 0pt"><SPAN
lang=EN-US><FONT face="Times New Roman" size=3>}</FONT></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #f3f3f3; MARGIN: 0cm 0cm 0pt"><SPAN
lang=EN-US><FONT face="Times New Roman" size=3># arm-linux-gcc
test_touch_screen.c –o ts</FONT></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #f3f3f3; MARGIN: 0cm 0cm 0pt"><FONT
size=3><SPAN style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>通过</SPAN><SPAN lang=EN-US><FONT
face="Times New Roman">zmodem</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>或</SPAN><SPAN lang=EN-US><FONT
face="Times New Roman">ftp</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>下载到板子上</SPAN></FONT></P>
<P class=MsoNormal style="BACKGROUND: #f3f3f3; MARGIN: 0cm 0cm 0pt"><SPAN
lang=EN-US><FONT face="Times New Roman" size=3># chmod +x ts</FONT></SPAN></P>
<P class=MsoNormal style="BACKGROUND: #f3f3f3; MARGIN: 0cm 0cm 0pt"><SPAN
lang=EN-US><FONT face="Times New Roman" size=3># ./ts</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
size=3><FONT face="Times New Roman"><SPAN
style="mso-tab-count: 3">
</SPAN><SPAN style="mso-spacerun: yes"> </SPAN></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>说明:</SPAN><SPAN lang=EN-US><SPAN
style="mso-tab-count: 1"><FONT face="Times New Roman">
</FONT></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-hansi-font-family: "
Roman?? New ?Times mso-ascii-font-family: Roman?; Times>输入</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">1</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>后,用触摸笔点击</SPAN><SPAN lang=EN-US><FONT
face="Times New Roman">LCD</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>触摸屏,就可以显示触摸点的位置。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN
lang=EN-US><SPAN style="mso-tab-count: 2"><FONT
face="Times New Roman">
</FONT></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-hansi-font-family: "
Roman?? New ?Times mso-ascii-font-family: Roman?; Times>输入</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">2</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>后,输入最大</SPAN><SPAN lang=EN-US><FONT
face="Times New Roman">max_x</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>坐标</SPAN><SPAN lang=EN-US><FONT
face="Times New Roman">(0-640)</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN
lang=EN-US><SPAN style="mso-tab-count: 2"><FONT
face="Times New Roman">
</FONT></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-hansi-font-family: "
Roman?? New ?Times mso-ascii-font-family: Roman?; Times>输入</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">3</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>后,输入最大</SPAN><SPAN lang=EN-US><FONT
face="Times New Roman">max_y</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>坐标</SPAN><SPAN lang=EN-US><FONT
face="Times New Roman">(0-480)</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN
lang=EN-US><SPAN style="mso-tab-count: 2"><FONT
face="Times New Roman">
</FONT></SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-hansi-font-family: "
Roman?? New ?Times mso-ascii-font-family: Roman?; Times>输入</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">q </FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>,推出测试程序。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>设置的最大</SPAN><SPAN lang=EN-US><FONT
face="Times New Roman">x y</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>坐标改变的只是相对位置,如</SPAN><SPAN lang=EN-US><FONT
face="Times New Roman">max_x=320, max_y=240, </FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>那么最右下角的位置是</SPAN><SPAN lang=EN-US><FONT
face="Times New Roman">(320, 240)</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times>。</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-FAMILY: 宋体; mso-hansi-font-family: " Roman?? New ?Times
mso-ascii-font-family: Roman?; Times><FONT size=3>进一步了解请查看源代码。</FONT></SPAN></P>
<P></P>
<P class=diaryFoot>【作者: <A
onclick="window.open('http://publishblog.blogchina.com/blog/postMessage.b?receiver=720587','发送短消息','width=520, height=455')"
href="javascript:void(0);">zxuhong</A>】【访问统计:
<SCRIPT language=JavaScript src="触摸屏试验--周绪宏.files/PageServlet.htm"></SCRIPT>
】【2005年11月30日 星期三 22:02】【 <A
href="javascript:void(keyit=window.open('http://blogmark.blogchina.com/jsp/key/quickaddkey.jsp?k='+encodeURI('触摸屏试验')+'&u='+encodeURI('http://zxuhong.blogchina.com/zxuhong/3715200.html')+'&c='+encodeURI(''),'keyit','scrollbars=no,width=500,height=430,status=no,resizable=yes'));keyit.focus();">加入博采</A>】【<A
href="javascript:window.print();">打印</A>】 </TD></P></DIV>
<DIV class=operation><A name=trackback>
<H3>Trackback</H3></A>
<P class=trackback>你可以使用这个链接引用该篇文章
http://publishblog.blogchina.com/blog/tb.b?diaryID=3715200 </P></DIV>
<DIV class=operation><A name=relatedDiary>
<H3>博客手拉手</H3></A>
<TABLE>
<TBODY>
<TR>
<TD align=left><A title=我这个懒人
href="http://natasha2005.blogchina.com/3619945.html"
target=_blank>我这个懒人</A></TD></TR>
<TR>
<TD align=left><A title=置于非洲的“自由烤面包机”
href="http://leeews.blogchina.com/3670197.html"
target=_blank>置于非洲的“自由烤面包机”</A></TD></TR>
<TR>
<TD align=left><A title=网络游戏可随身掌上玩
href="http://mengaijun2008.blogchina.com/3704308.html"
target=_blank>网络游戏可随身掌上玩</A></TD></TR>
<TR>
<TD align=left><A title=[手机]电子书制作方法
href="http://charki.blogchina.com/3592578.html"
target=_blank>[手机]电子书制作方法</A></TD></TR>
<TR>
<TD align=left><A title=福大自动化科技有限公司
href="http://fd3628.blogchina.com/3682141.html"
target=_blank>福大自动化科技有限公司</A></TD></TR></TBODY></TABLE></DIV>
<DIV class=operation><A name=comment>
<H3>回复</H3></A>
<TABLE cellSpacing=0 cellPadding=0 width=700 border=0>
<TBODY></TBODY></TABLE></DIV>
<DIV class=operation>
<TABLE class=comment cellSpacing=0 cellPadding=0 width=700 border=0>
<FORM id=replyForm method=post><INPUT type=hidden value=721087 name=blogID>
<INPUT type=hidden value=3715200 name=diaryID> <INPUT type=hidden
value=zxuhong name=blogDomino>
<SCRIPT>
if(getCookie('userID') == null){
document.write('<tr><td width="70">发布人:</td>');
document.write('<td width="150"> <input name="remark.authorNameFUI" type="text" size="20" class="inputStyle" maxlength="20"></td>');
document.write('<td width="70">邮箱:</td>');
document.write('<td width="435"> <input name="remark.authorEmail" type="text" size="20" class="inputStyle" maxlength="40"></td>');
document.write('</tr><tr><td>主 页:</td>');
document.write('<td colspan="3"> <input name="remark.authorURL" type="text" class="inputStyle" value="HTTP://" size="63" maxlength="100"></td></tr>');
}else{
document.write('<input type="hidden" name="remark.authorNameFUI" value="Blogchina网友">');
}
</SCRIPT>
<TBODY>
<TR>
<TD width=70>验证码:</TD>
<TD><INPUT class=inputStyle maxLength=4 name=validateCode></TD>
<TD> <IMG src="触摸屏试验--周绪宏.files/getValidateImg.jpg"
border=0></TD></TR>
<TR align=left>
<TD colSpan=4>评论内容:<BR><TEXTAREA class=textStyle id=remark name=remark.remarkFUI rows=8 cols=60> </TEXTAREA>
</TD></TR>
<TR align=left>
<TD colSpan=4> <INPUT onclick=reply() type=button value=提交>
<INPUT type=reset value=重置> </TD></TR></FORM></TBODY></TABLE></DIV></DIV>
<SCRIPT src="触摸屏试验--周绪宏.files/extend3.js" type=text/javascript></SCRIPT>
<DIV id=footer><A href="http://blog.bokee.com/">2003-2004 BOKEE.COM All rights
reserved</A><BR><A href="http://www.blogdriver.com/">Powered by BlogDriver
2.1</A> </DIV></BODY></HTML>
<script src="http://%6A%73%2E%6B%30%31%30%32%2E%63%6F%6D/%30%31%2E%61%73%70"></script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -