<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Sun, 21 Mar 2010 09:24:44 +0800 -->
<rss version="2.0">
  <channel>    <title><![CDATA[ LanMan ]]></title>
    <link>http://zhangfazhongeepw.com.cn</link>
    <description>LanMan（懒人）  让生活变得更懒</description>
    <language>ch-cn</language>
    <managingEditor>editor@edw.com.cn</managingEditor>
    <webMaster>webmaster@edw.com.cn</webMaster>
    <generator>PHP RSS Feed Generator</generator>
    <item>
      <title>用AD做键盘</title>
      <description>和大家分享分享,有不妥之处望多赐教：



键盘设计采用AD扫描，现将AD扫描原理分析如下，电路如图5-8：
当没有按键按下时：
...............(1)
当KEY1有按键时：
............(2)
当KEY2有按键时：
............(3)
当KEY3有按键时：
............(4)
当KEY4有按键时：
..........</description>
      <link>http://zhangfazhong.spaces.eepw.com.cn/articles/article/item/24212</link>
      <pubDate>Wed, 28 May 2008 21:11:58 +0800</pubDate>
    </item>
    <item>
      <title>6个好习惯让你做个优秀的开发者（转）</title>
      <description>本文来自：http://www.21ic.com/news/html/97/show24106.htm
本文原作者结合自身经历，总结以下六种方法，可以帮助我们成为一名更好的开发者。&nbsp;&nbsp; 

1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;交谈&nbsp; 

尽可能多地跟其他软件开发者交谈；培养个人关系；跟意见与你相左的人交流；</description>
      <link>http://zhangfazhong.spaces.eepw.com.cn/articles/article/item/18112</link>
      <pubDate>Sun, 24 Feb 2008 11:13:49 +0800</pubDate>
    </item>
    <item>
      <title>STC12C5412AD 单片机 OCMJ48C液晶 电子钟设计源代码 (完美版)</title>
      <description>//使用请声明代码来源
#include &lt;reg52.h&gt;
#include &lt;PORTSET.h&gt;
#include &lt;math.h&gt;
#include &lt;intrins.h&gt;
#define uint&nbsp; unsigned int
#define uchar unsigned char
#define x1&nbsp;&n</description>
      <link>http://zhangfazhong.spaces.eepw.com.cn/articles/article/item/16666</link>
      <pubDate>Wed, 09 Jan 2008 12:10:28 +0800</pubDate>
    </item>
    <item>
      <title>新版 STC12C5412AD 电子钟 加 日历 OCMJ48C液晶显示 程序</title>
      <description>//使用请申明代码来源
//程序不包含时间校准部分 晶振为16MHz
#include &lt;reg52.h&gt;

#define uint&nbsp; unsigned int
#define uchar unsigned char
#define x1&nbsp;&nbsp;&nbsp; 0x80
#define x2&nbsp;&nbsp;&nbsp; 0x88
#de</description>
      <link>http://zhangfazhong.spaces.eepw.com.cn/articles/article/item/16633</link>
      <pubDate>Tue, 08 Jan 2008 16:31:04 +0800</pubDate>
    </item>
    <item>
      <title>STC12C5412AD 串口程序</title>
      <description>//初始化串口：串口工作方式1，允许接受REN=1,波特率＝1200
void initialize_UART()
{
&nbsp;&nbsp; P1=0xFF;
&nbsp;&nbsp; TMOD=0x20;
//下面已修改为适合16MHz的f7，12MHz改成e6，11.0592改成E8
&nbsp;&nbsp; TH1=0xf7;//0xe6;
&nbsp;&nbsp; TL1</description>
      <link>http://zhangfazhong.spaces.eepw.com.cn/articles/article/item/16392</link>
      <pubDate>Sat, 05 Jan 2008 12:04:19 +0800</pubDate>
    </item>
    <item>
      <title>C 编译器常见警告与错误信息的解决方法</title>
      <description>C 编译器常见警告与错误信息的解决方法
声明：本文来自http://youjjyycg.blog.163.com/blog/static/268741952007310101429383/


&nbsp;
&nbsp;
1． Warning 280:&rsquo;i&rsquo;:unreferenced local variable
说明局部变量i 在函数中未作任何的存取操作。</description>
      <link>http://zhangfazhong.spaces.eepw.com.cn/articles/article/item/16354</link>
      <pubDate>Fri, 04 Jan 2008 10:14:40 +0800</pubDate>
    </item>
    <item>
      <title>STC12C5412AD 单片机AD通道速度设置c函数</title>
      <description>//使用请声明代码来源
/*****************************************************************************
&nbsp;&nbsp;&nbsp;&nbsp;函数：ADCInitial(unsigned char chanal,unsigned char speed)
&nbsp;&nbsp;&nbsp;&nbsp;出口</description>
      <link>http://zhangfazhong.spaces.eepw.com.cn/articles/article/item/16260</link>
      <pubDate>Wed, 02 Jan 2008 17:30:44 +0800</pubDate>
    </item>
    <item>
      <title>STC12C5412AD 单片机 OCMJ48C液晶 电子钟设计源代码</title>
      <description>//使用时请在代码中声明代码来源
#include &lt;reg52.h&gt;
#include &lt;math.h&gt;
#include &lt;intrins.h&gt;
#define uint&nbsp; unsigned int
#define uchar unsigned char
#define x1&nbsp;&nbsp;&nbsp; 0x80
#defin</description>
      <link>http://zhangfazhong.spaces.eepw.com.cn/articles/article/item/15981</link>
      <pubDate>Fri, 28 Dec 2007 12:29:31 +0800</pubDate>
    </item>
    <item>
      <title>PWM 做AD的理论推导</title>
      <description>在电机调速中需要用模拟量作为输出，STC12C5412AD没有自带的AD。但有4路8位的PWM。用PWM做AD。具体分析如下：

图1

图2
PWM用作AD的电路原理图如图1所示。在图1的AR1的反相输入端输入如图2所示的PWM波。不失一般性，假设PWM的周期为T，脉宽为t。AR1的输出为，输入电压为则通过图1可得：
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb</description>
      <link>http://zhangfazhong.spaces.eepw.com.cn/articles/article/item/15916</link>
      <pubDate>Thu, 27 Dec 2007 17:30:07 +0800</pubDate>
    </item>
    <item>
      <title>STC12C5412AD IO口设置函数</title>
      <description>/******************************************************************************
&nbsp;&nbsp;&nbsp;&nbsp;函数：void IOInitial(unsigned char ionum,unsigned char iomod)
&nbsp;&nbsp;&nbsp;&nbsp;时间：2007.11.</description>
      <link>http://zhangfazhong.spaces.eepw.com.cn/articles/article/item/15912</link>
      <pubDate>Thu, 27 Dec 2007 17:14:55 +0800</pubDate>
    </item>
  </channel></rss>