<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[51单片机如何长时间延时？]]></title>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593.html]]></link>
 <description><![CDATA[Latest 50 replies of 51单片机如何长时间延时？]]></description>
 <copyright><![CDATA[Copyright(C) 工控人家园]]></copyright>
 <generator><![CDATA[www.ymmfa.com]]></generator>
 <lastBuildDate><![CDATA[Sat, 04 Apr 2026 01:02:47 +0000]]></lastBuildDate>
  <image>
 <url><![CDATA[images/rss.gif]]></url>
 <title><![CDATA[工控人家园]]></title>
 <link><![CDATA[http://www.ymmfa.com]]></link>
 <description><![CDATA[工控人家园]]></description>
  </image>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[计数器中套计时器，]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1596891.html]]></link>
 <author><![CDATA[ffd001]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sun, 24 Aug 2014 08:43:41 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; if(timer2ms &gt;= 5)和if(systimer10ms &gt;= 22)&nbsp;&nbsp; 改大就应该能延长。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1590056.html]]></link>
 <author><![CDATA[supermax]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 29 Jul 2014 04:55:26 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[#pragma interrupt_handler timer0_ovf_isr:10&nbsp;&nbsp;//TIMER0 定时2ms中断.
void timer0_ovf_isr(void)
{
 TCNT0 = 0xD9; //reload counter value
 timer2ms++;
&nbsp;&nbsp;&nbsp;&nbsp;if(timer2ms &gt;= 5)
&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp; timer2ms = 0;
&nbsp;&nbsp;&nbsp;&nbsp; timer10 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1590046.html]]></link>
 <author><![CDATA[supermax]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 29 Jul 2014 04:07:11 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[起一个变量，与响应时间对照]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1590045.html]]></link>
 <author><![CDATA[supermax]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 29 Jul 2014 04:05:09 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[for（a=0；a&lt;时间/单位时间，a++）
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delay100ms（）；

或者delay100ms（时间/单位时间）；


void Timer0Init(void)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//1毫秒@11.0592MHz
{
&nbsp;&nbsp;&nbsp;&nbsp;AUXR |= 0x80;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1588388.html]]></link>
 <author><![CDATA[hzn19900420]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 22 Jul 2014 18:04:45 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[你需要程序延时还是定时器中断了]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1588387.html]]></link>
 <author><![CDATA[hzn19900420]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 22 Jul 2014 17:56:17 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[长延时子程序循环调用应该可以啊]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1588192.html]]></link>
 <author><![CDATA[liutuan6618]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 22 Jul 2014 02:24:13 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[用中断，如12M晶振，设定62.5ms中断一次，中断16次后a++(a即为1S计时单位)，当a=60S 后再分钟b++，依此累计下去就好了！]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1575867.html]]></link>
 <author><![CDATA[robert224]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Fri, 06 Jun 2014 02:02:04 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[用while(1)循环。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1575374.html]]></link>
 <author><![CDATA[杨勇]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Wed, 04 Jun 2014 10:00:13 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第2楼tingfenghu于2014-06-02 19:18发表的&nbsp;&nbsp;:
采用多级累加，1ms中断，1sflag,1mflag,1hflag,这样累加，要多久都可以
[/quote]
是这样.赞一个.使用中断.主程序累加要多久有多久.]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1575343.html]]></link>
 <author><![CDATA[hydgjs]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Wed, 04 Jun 2014 08:21:16 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[路过,顶上去]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1575075.html]]></link>
 <author><![CDATA[宁波自动化网]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 03 Jun 2014 12:03:22 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[二楼楼主，有时间把程序帮忙写一下，谢谢了]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1575055.html]]></link>
 <author><![CDATA[夏天雨111]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 03 Jun 2014 09:58:24 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[采用多级累加，1ms中断，1sflag,1mflag,1hflag,这样累加，要多久都可以]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1574815.html]]></link>
 <author><![CDATA[tingfenghu]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 02 Jun 2014 11:18:55 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[定时中断中对变量累加，然后判断累加值。 [s:21]]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1457593#1574781.html]]></link>
 <author><![CDATA[cvlsam]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 02 Jun 2014 07:04:50 +0000]]></pubdate>
</item>
</channel></rss>