<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[单片机定时器在P1.0口产生200Hz方波程序]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Sun, 01 Aug 2010 05:46:31 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	<br/><div class="code">使用单片机定时器在P1.0口产生200Hz方波程序 <br/><br/>#ifndef __DEMO_4_14_C__ <br/>#define __DEMO_4_14_C__ <br/>#include &lt;AT89X51.H&gt; <br/><br/>void main() <br/>&#123; <br/> P1 = 0;&nbsp;&nbsp;&nbsp;&nbsp;// 清P0口 <br/>&nbsp;&nbsp;<br/> /* 定时、中断初始化 */ <br/> TMOD = 0x0;&nbsp;&nbsp;&nbsp;&nbsp;// T0使用定时模式，工作模式0，无门控位 <br/> TH0 = 0x60;&nbsp;&nbsp;&nbsp;&nbsp;// 为T0填入初值，定时时间5ms <br/> TL0 = 0x78; <br/> TR0 = 1;&nbsp;&nbsp;&nbsp;&nbsp;// 启动T0 <br/> ET0 = 1;&nbsp;&nbsp;&nbsp;&nbsp;// 允许定时器0中断 <br/> EA = 1;&nbsp;&nbsp;&nbsp;&nbsp;// CPU开放中断 <br/><br/> while(1);&nbsp;&nbsp;&nbsp;&nbsp;// 循环等待 <br/>&#125; <br/><br/>/* T0溢出中断处理函数 */ <br/>void timer0_int () interrupt 1 using 2&nbsp;&nbsp;// T0溢出中断，使用工作组2 <br/>&#123; <br/> TH0 = 0x60;&nbsp;&nbsp;&nbsp;&nbsp;// 重新填入初值 <br/> TL0 = 0x78; <br/> P1 ^= 0x01;&nbsp;&nbsp;&nbsp;&nbsp;// P1.0取反，产生方波 <br/>&#125; <br/><br/>#endif </div>
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] 单片机定时器在P1.0口产生200Hz方波程序]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>