📄 ad7705在电子秤中的应用 嵌入式 非常编程网.htm
字号:
SCON,#00000000B;禁用SCON<BR> MOV
A,#20H<BR> ACALL WRITE<BR> MOV
SCON,#00000000B<BR> MOV A,#05H<BR> ACALL
WRITE<BR> MOV SCON,#00000000B<BR> MOV
A,#010H<BR> ACALL WRITE<BR> MOV
SCON,#00000000B<BR> MOV A,#70H<BR> ACALL
WRITE <BR> MOV SCON,#00000000B<BR> A2:
JNB 00H,A2 ;等待INT1中断<BR> MOV A,#38H<BR> ACALL
WRITE<BR> RDATA<BR> DPROCESS<BR> AJMP
A2 </P>
<P align=center><IMG
src="AD7705在电子秤中的应用 嵌入式 非常编程网.files/061228152731395.gif"></P>
<P><BR>
图6
主程序流程图<BR> WRITE:<BR> NOP<BR> MOV
R0,#08H<BR> ACALL
NU1<BR> RET<BR> NU1: RLC
A<BR> JNC NU2<BR> CLR
0B1H<BR> SETB 0B0H<BR> SETB
0B1H<BR> SJMP NU3<BR> NU2: CLR
0B1H<BR> CLR 0B0H<BR> SETB
0B1H<BR> NU3: DEC R0<BR> DJNZ
R0,NU1<BR> RET<BR> RDATA:<BR> MOV
R2,#02H<BR> MOV R3,#08H<BR> MOV
R4,#20H<BR> CLR C<BR> MOV
A,#00H<BR> RD1: CLR 0B1H<BR> MOV
C,0B0H<BR> SETB 0B1H<BR> RLC
A<BR> DJNZ R3,RD1<BR> MOV
R4,A<BR> INC R4<BR> DJNZ
R2,RD1<BR> RET<BR> DPROCESS:<BR> ……<BR> RET<BR> ADINT:<BR> SETB
00H<BR> RETI<BR> END
</P>本文来源:电子产品世界 作者:金春雨 陶淼 </DIV>
<DIV align=center>
<SCRIPT language=javascript
src="AD7705在电子秤中的应用 嵌入式 非常编程网.files/neirongyexiafang.js"></SCRIPT>
</DIV>
<DIV
style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px; TEXT-ALIGN: center">上一篇:<A
title=单片机多机并行通讯的一种方法
href="http://www.0531s.com/www/41/2008-06/87512.html">单片机多机并行通..</A>
下一篇:<A title=TNY256型单片机开关电源及其应用
href="http://www.0531s.com/www/41/2008-06/87510.html">TNY256型单片机开..</A> </DIV>
<H2 class=h21>相关主题:</H2>
<UL class=list></UL>
<DIV class=dd></DIV>
<H2 class=h21>网友评论</H2>
<DIV id=comment__c></DIV>
<SCRIPT language=JavaScript
src="AD7705在电子秤中的应用 嵌入式 非常编程网.files/xhr.js"></SCRIPT>
<SCRIPT language=JavaScript src="AD7705在电子秤中的应用 嵌入式 非常编程网.files/comment.js"
type=text/javascript></SCRIPT>
<SCRIPT language=javascript>
var tid = 87511;
var mid = 1;
var cid = 41;
var flag = 0;
function re_init(subjectid)
{
subject_id = subjectid;
init_message(5);
}
init_message(5);
</SCRIPT>
</DIV>
<DIV class="sidebar right">
<DIV class=box2>
<SCRIPT language=javascript
src="AD7705在电子秤中的应用 嵌入式 非常编程网.files/wzlbggsf.js"></SCRIPT>
<SCRIPT language=javascript
src="AD7705在电子秤中的应用 嵌入式 非常编程网.files/liebiaodiyige.js"></SCRIPT>
<H2 class=green>嵌入式 热门推荐</H2>
<UL class="list1 left">
<LI><A href="http://www.0531s.com/www/41/2008-06/88715.html">嵌入式操作系统Windows
CE.NET在S3..</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/88716.html">利用软件工具开发嵌入式Web应用</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/88717.html">分析评价Linux和WinCE/Windows的优..</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/88718.html">基于WindowsCE的HIRFL-CSR前端控制..</A>
</LI></UL>
<DIV class=clear></DIV>
<UL class=list>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87209.html">MCS-51系统软复位的深入研究</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87210.html">51单片机8*8点阵LED显示原理及程序</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87212.html">用PIC单片机实现的IC卡读写器</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87213.html">51单片机整数二一十进制转换的快速算法</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87214.html">MSP430单片机通用系统研制和应用</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87215.html">数控电位器与PIC单片机的接口技术</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87216.html">单片机应用产品的PROTEUS设计与仿真</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87217.html">MCS-51系统中断优先级的软扩展</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87218.html">如何利用软件实现PIC16F5X异步串行口──贝能科..</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87219.html">NT系列Keeloq解码芯片的应用──贝能科技PIC微控..</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87220.html">C8051Fxxx程序丢失问题的分析</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87221.html">基于PIC18F66J60实现的Ethernet
- RS-232协议转..</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87222.html">基于PIC18F66J60实现的Ethernet
- RS-232协议转..</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87223.html">NT5285芯片应用及DEMO板的使用技巧──贝能科技P..</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/87224.html">超低成本的可控硅开关控制器──贝能科技PIC微控..</A>
</LI></UL></DIV>
<DIV>
<SCRIPT language=javascript
src="AD7705在电子秤中的应用 嵌入式 非常编程网.files/rementuijiandiergeguanggao.js"></SCRIPT>
</DIV>
<DIV class=box2>
<H2 class=green>本类最新文章</H2>
<UL class=list>
<LI><A href="http://www.0531s.com/www/41/2008-07/192818.html">xp与linux双系统安装
</A>
<LI><A href="http://www.0531s.com/www/41/2008-06/88714.html">Window CE
打印机驱动实现</A>
<LI><A href="http://www.0531s.com/www/41/2008-06/88715.html">嵌入式操作系统Windows
CE.NET在S3C2410平台上的..</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/88716.html">利用软件工具开发嵌入式Web应用</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/88717.html">分析评价Linux和WinCE/Windows的优缺点</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/88718.html">基于WindowsCE的HIRFL-CSR前端控制系统设计</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/88719.html">在WinCE5.0和WinCE6.0下
编译选项介绍</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/88720.html">微软嵌入式操作系统的分析和对比(下)</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/88721.html">微软嵌入式操作系统的分析和对比(上)</A>
<LI><A
href="http://www.0531s.com/www/41/2008-06/88722.html">基于WinCE的I2C驱动程序设计</A>
</LI></UL>
<SCRIPT language=javascript
src="AD7705在电子秤中的应用 嵌入式 非常编程网.files/listad.js"></SCRIPT>
</DIV></DIV></DIV></DIV></DIV>
<DIV class=clear></DIV>
<SCRIPT language=javascript>
// JavaScript Document
var imgMaxWidth=450; //控制内容中图片大小
var content = document.getElementById("content");
ImgLoad(content);
function ImgLoad(obj)
{
for(var i=0;i<obj.getElementsByTagName("img").length;i++){
var o=obj.getElementsByTagName("img")[i];
if (o.width>imgMaxWidth){
if (o.style.width){
o.style.width="";
}
o.width=imgMaxWidth;
o.removeAttribute("height");
o.setAttribute("title","ctrl+鼠标滚轮缩放");
o.style.cursor="hand";
o.style.display="block";
o.vspace=5;
o.resized=1;
o.onclick=ImgClick;
o.onmousewheel=bbimg;
}
}
}
function ImgClick()
{
if (this.parentElement){
if (this.parentElement.tagName!="A"){
window.open(this.src);
}
}else{
window.open(this.src);
}
}
function bbimg()
{
if (event.ctrlKey){
var zoom=parseInt(this.style.zoom, 10)||100;
zoom+=event.wheelDelta/12;
if (zoom>0) this.style.zoom=zoom+'%';
return false;
}else{
return true;
}
}
</SCRIPT>
<!---main----foot-->
<DIV class=footer>
<UL id=footlink>
<LI><A title=关于我们 href="http://www.0531s.com/about/aboutus.html"
target=_blank>关于我们</A>
<LI><A title=广告服务 href="mailto:xiangboren@QQ.com" target=_blank>广告服务</A>
<LI><A title="" href="http://www.0531s.com/about/contactus.html"
target=_blank>联系我们</A>
<LI><A title="" href="http://www.0531s.com/about/zhaopin.html"
target=_blank>诚聘英才</A>
<LI><A title="" href="http://www.0531s.com/about/history.html"
target=_blank>网站大事</A>
<LI><A title="" href="http://www.0531s.com/about/links.html"
target=_blank>友情链接</A>
<LI><A title="" href="http://www.0531s.com/about/guestbook/"
target=_blank>意见反馈</A>
<LI><A title="" href="http://www.0531s.com/about/map.htm"
target=_blank>网站地图</A> </LI></UL>
<DIV>非常编程网<A href="mailto:xiangboren@QQ.com" target=_blank></A> <BR>Powered by
<A href="http://www.0531s.com/"><STRONG>非常编程网</STRONG></A> Code ©2006-07 <A
href="http://www.0531s.com/"><STRONG>0531S.COM</STRONG></A> Corporation </DIV><A
href="http://www.miibeian.gov.cn/" target=_blank>鲁ICP备07022413号</A>
<SCRIPT language=javascript src="AD7705在电子秤中的应用 嵌入式 非常编程网.files/1036493.js"
type=text/javascript></SCRIPT>
<BR>
<SCRIPT src="AD7705在电子秤中的应用 嵌入式 非常编程网.files/click.htm"></SCRIPT>
</DIV></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -