<?xml version="1.0" encoding="utf-8"?><rss version="2.0">
<channel>
<title><![CDATA[一步一脚印]]></title>
<link>http://blog.pfan.cn/wentao</link>
<description>编程爱好者博客</description>
<language>zh-cn</language>
			<item>
		<title><![CDATA[【046】基于HD44780的1602简单驱动(C51)]]></title>
		<link>http://blog.pfan.cn/wentao/26142.html</link>
		<description><![CDATA[[相关] (001)基于HD44780液晶芯片的16×2字符型液晶(1602)简介。

lcd.h: 

/********************************************************************* &nbsp;
*&nbsp;标题:&nbsp;基于HD44780的1602简单驱动(C51) &nbsp;
*&nbsp;文件:&nbsp;lcd.h &nbsp;
*&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;
*&nbsp;参考:&nbsp;AVR单片机与CPLD/FPGA综合应用入门 &nbsp;
*&nbsp;日期:&nbsp;2007.5.10 &nbsp;
*&nbsp;修改:&nbsp;2007.5.26 &nbsp;
*&nbsp;软件:&nbsp;Keil&nbsp;C51&nbsp;V8.02 &nbsp;
*&nbsp;芯片:&nbsp;AT89X51 &nbsp;
*&nbsp;说明:&nbsp;硬件连接定义及函数原型声明,此处P0,P2,P2_0等在AT89X51.h中定义, &nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;也可用sfr,&nbsp;sbit自行定义。 &nbsp;
*&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;
*********************************************************************/&nbsp;&nbsp;
&nbsp;&nbsp;
#ifndef&nbsp;LCD_H &nbsp;&nbsp;
#define&nbsp;LC]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-26 01:36:00</pubDate>
		</item>
				<item>
		<title><![CDATA[(001)基于HD44780液晶芯片的16×2字符型液晶(1602)简介]]></title>
		<link>http://blog.pfan.cn/wentao/25880.html</link>
		<description><![CDATA[声明：本文内容选自《AVR单片机与CPLD/FPGA综合应用入门》及《smc 1602A LCM 使用说明书》，自用资料存档，请勿转载！否则因此引起的版权问题本人概不负责！液晶显示器以其微功耗、小体积、使用灵活等诸多优点在袖珍式仪表和低功耗应用系统中得到越来越广泛的应用。液晶显示器通常可分为两大类，一类是点阵型，另一类是字符型。点阵型液晶通常面积较大，可以显示图形;而一般的字符型液晶只有两行，面积小，只能显示字符和一些很简单的图形，简单易控制且成本低。目前市面上的字符型液晶绝大多数是基于HD44780液晶芯片的，所以控制原理是完全相同的，为HD44780写的控制程序可以很方便地应用于市面上大部分的字符型液晶。字符型LCD通常有14条引脚线(市面上也有很多16条引脚线的LCD，多出来的2条线是电源线VCC(15脚)和地线GND(16脚)，其控制原理与14脚的LCD完全一样)，定义如下表所示：&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 字符型LCD的引脚定义┌────┬────┬────┬──────┬────────────┐ㄧ 引脚号 ㄧ 引脚名 ㄧ &nbsp;电平 &nbsp;ㄧ &nbsp;输入/输出 ㄧ &nbsp; &nbsp; &nbsp; &nbsp; 作用 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ㄧ├────┼────┼────┼──────┼────────────┤ㄧ &nbsp; 1 &nbsp; &nbsp;ㄧ &nbsp;Vss &nbsp; ㄧ &nbsp; &nbsp; &nbsp; &nbsp;ㄧ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ㄧ 电源地 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ㄧ├────┼────┼────┼──────┼────────────┤ㄧ &nbsp; 2 &nbsp; &nbsp;ㄧ &nbsp;Vcc &nbsp; ㄧ &nbsp; &nbsp; &nbsp; &nbsp;ㄧ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-13 19:05:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【045】数码管显示简单电子钟]]></title>
		<link>http://blog.pfan.cn/wentao/25599.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;数码管显示电子钟(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.3.3 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
sec_l&nbsp;&nbsp;equ&nbsp;&nbsp;30h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;30单元存储秒个位值 &nbsp;&nbsp;
sec_h&nbsp;&nbsp;equ&nbsp;&nbsp;31h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;31单元存储秒十位值 &nbsp;&nbsp;
bar_2&nbsp;&nbsp;equ&nbsp;&nbsp;32h&nbsp;&nbsp;&]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:33:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【044】秒表-八位数码管显示]]></title>
		<link>http://blog.pfan.cn/wentao/25598.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;秒表-八位数码管显示(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.3.3 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
dot_l&nbsp;&nbsp;equ&nbsp;&nbsp;30h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;30单元存储百分之一秒值 &nbsp;&nbsp;
dot_h&nbsp;&nbsp;equ&nbsp;&nbsp;31h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;31单元存储十分之一秒值 &nbsp;&nbsp;
sec_l&nbsp;&nbsp;equ&nbsp;&nbsp;32h&nbsp;&]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:31:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【043】秒表-六位数码管有效显示]]></title>
		<link>http://blog.pfan.cn/wentao/25597.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;秒表-六位数码管有效显示(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.3.2 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
dot_l&nbsp;&nbsp;equ&nbsp;&nbsp;30h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;30单元存储百分之一秒值 &nbsp;&nbsp;
dot_h&nbsp;&nbsp;equ&nbsp;&nbsp;31h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;31单元存储十分之一秒值 &nbsp;&nbsp;
bar_2&nbsp;&nbsp;equ&nbsp;&nbsp;32h&nbsp]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:30:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【042】四位数码管对外部中断0响应计数]]></title>
		<link>http://blog.pfan.cn/wentao/25596.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;四位数码管对外部中断0响应计数(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.2.28 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0000h&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ajmp&nbsp;&nbsp;start &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:29:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【041】四位数码管计数演示]]></title>
		<link>http://blog.pfan.cn/wentao/25595.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;四位数码管计数演示(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.3.2 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0000h&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ajmp&nbsp;&nbsp;start &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0030h&]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:28:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【040】两位数码管对直控按键计数键增强(加速键)]]></title>
		<link>http://blog.pfan.cn/wentao/25594.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;两位数码管对直控按键计数键增强(加速键)(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.3.2 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
dis_0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;equ&nbsp;30h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;dis_0(30单元)存储个位值 &nbsp;&nbsp;
dis_1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;equ&nbsp;31h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;dis_1(31单元)存储十位值 &nbs]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:25:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【039】两位数码管对直控按键计数]]></title>
		<link>http://blog.pfan.cn/wentao/25593.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;两位数码管对直控按键计数(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.3.2 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
dis_0&nbsp;equ&nbsp;30h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;dis_0(30单元)存储个位值 &nbsp;&nbsp;
dis_1&nbsp;equ&nbsp;31h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;dis_1(31单元)存储十位值 &nbsp;&nbsp;
dis_b&nbsp;equ&nbsp;32h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:25:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【038】两位数码管计数演示]]></title>
		<link>http://blog.pfan.cn/wentao/25592.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;两位数码管计数演示(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.3.2 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
dis_0&nbsp;equ&nbsp;30h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;30单元存储个位值 &nbsp;&nbsp;
dis_1&nbsp;equ&nbsp;31h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;31单元存储十位值 &nbsp;&nbsp;
count&nbsp;equ&nbsp;32h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;3]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:24:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【037】多位数码管动态显示定时器中断实现]]></title>
		<link>http://blog.pfan.cn/wentao/25591.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;多位数码管动态显示定时器中断实现(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.2.22 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0000h&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ajmp&nbsp;&nbsp;start &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;000bh&nbsp;&nbsp]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:23:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【036】多位数码管动态显示软延时实现]]></title>
		<link>http://blog.pfan.cn/wentao/25590.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;多位数码管动态显示软延时实现(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.2.21 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;anl&nbsp;30h,#07h起如下作用 &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mov&nbsp;&nbsp;&nbsp;a,30h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;取循环控制变量 &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cjne&nbsp;&nbsp;a,#8,lop]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:22:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【035】一位数码管循环显示多个数字]]></title>
		<link>http://blog.pfan.cn/wentao/25589.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;一位数码管循环显示多个数字(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.2.21 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0000h&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ajmp&nbsp;&nbsp;start &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0030h&nbsp;&nbsp;]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:20:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【034】数码管显示数字的基本实验+AS实验板段码表]]></title>
		<link>http://blog.pfan.cn/wentao/25587.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;数码管显示数字的基本实验(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.2.21 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过,数码管为8位共阳 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0000h&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ajmp&nbsp;&nbsp;start &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0030h&nbsp;&nbsp;
s]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-05 16:18:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【033】直控按键控制led循环方向]]></title>
		<link>http://blog.pfan.cn/wentao/25479.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;直控按键控制led循环方向(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.2.21 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
k1&nbsp;bit&nbsp;p1.4&nbsp;&nbsp;;K1按键与P1.4口相连 &nbsp;&nbsp;
k2&nbsp;bit&nbsp;p1.5&nbsp;&nbsp;;K2按键与P1.5口相接 &nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0000h&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nb]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-02 19:42:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【032】直控按键多个键值处理]]></title>
		<link>http://blog.pfan.cn/wentao/25478.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;直控按键多个键值处理(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.3.1 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过;可以用多个键 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
key_v&nbsp;equ&nbsp;30h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;key_v(30单元)存储键值 &nbsp;&nbsp;
key_t&nbsp;equ&nbsp;31h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;key_t(31]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-02 19:01:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【031】直控按键低电平触发处理]]></title>
		<link>http://blog.pfan.cn/wentao/25477.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;直控按键低电平触发处理(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.3.1 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过，通过"jnb&nbsp;&nbsp;&nbsp;p1.4,$&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;等待键松开"处理低电平触发 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0000h&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ajmp&nbsp;&nbsp;start &nbsp;&nbsp;
start:&nbsp;&]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-02 18:42:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【030】直控按键低电平触发未处理]]></title>
		<link>http://blog.pfan.cn/wentao/25476.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;直控按键低电平触发未处理(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.3.1 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;低电平处发不做处理，键按住时会始终满足满足查询条件执行循环体，所以 &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;松开键时输出状态也不定，实测按住时P0.0口LED常亮,但有些暗，实际上是 &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在快速执行取反造成的视觉暂留。 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;00]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-02 18:24:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【029】最简单的按键控制]]></title>
		<link>http://blog.pfan.cn/wentao/25474.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;最简单的按键控制(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;参考:&nbsp;平凡老师教程 &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.3.1 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0000h&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ajmp&nbsp;&nbsp;start &nbsp;&nbsp;
start:&nbsp;mov&nbsp;&nbsp;&nbsp;p1,#0xff&nbsp;&nbsp;&nbsp;;P1口为准双向口,作输入时写入1,使]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-02 17:56:00</pubDate>
		</item>
				<item>
		<title><![CDATA[【028】正反流水灯]]></title>
		<link>http://blog.pfan.cn/wentao/25471.html</link>
		<description><![CDATA[;************************************************************************** &nbsp;&nbsp;
;&nbsp;标题:&nbsp;正反流水灯(汇编) &nbsp;&nbsp;
;&nbsp;作者:&nbsp;wentao&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://blog.liuwentao.net &nbsp;&nbsp;
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://wentao.programfan.com &nbsp;&nbsp;
;&nbsp;日期:&nbsp;2007.2.21 &nbsp;&nbsp;
;&nbsp;软件:&nbsp;Keil&nbsp;A51&nbsp;V8.00&nbsp; &nbsp;&nbsp;
;&nbsp;芯片:&nbsp;AT89X51 &nbsp;&nbsp;
;&nbsp;说明:&nbsp;实验板实测通过 &nbsp;&nbsp;
;&nbsp;声明:&nbsp;自用存档!另仅供需要的朋友参考,请勿用做不道德转载及商业用途!&nbsp; &nbsp;&nbsp;
;************************************************************************** &nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;0000h&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ajmp&nbsp;&nbsp;start &nbsp;&nbsp;
start:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mov&nbsp;&nbsp;]]></description>
		<author><![CDATA[wentao]]></author>
		<pubDate>2007-05-02 16:18:00</pubDate>
		</item>
		</channel>
</rss>