<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>评论：灭火机器人的设计与制作之滤波算法</title>
	<atom:link href="http://www.stars625.com/firefighterdata.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.stars625.com/firefighterdata.html</link>
	<description>记录生活点滴，分享学习体会，专注微嵌开发。</description>
	<lastBuildDate>Fri, 03 Sep 2010 03:42:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>来自：chen</title>
		<link>http://www.stars625.com/firefighterdata.html/comment-page-1#comment-35</link>
		<dc:creator>chen</dc:creator>
		<pubDate>Fri, 12 Jun 2009 05:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.stars625.com/?p=136#comment-35</guid>
		<description>恩，那就对了。。。~~~这几天在看LPC2132</description>
		<content:encoded><![CDATA[<p>恩，那就对了。。。~~~这几天在看LPC2132</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：stars_625</title>
		<link>http://www.stars625.com/firefighterdata.html/comment-page-1#comment-34</link>
		<dc:creator>stars_625</dc:creator>
		<pubDate>Fri, 12 Jun 2009 04:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.stars625.com/?p=136#comment-34</guid>
		<description>刚开始是无效值，所以，采用递推滤波的前几次的值是无效的。但后来就非常稳定了</description>
		<content:encoded><![CDATA[<p>刚开始是无效值，所以，采用递推滤波的前几次的值是无效的。但后来就非常稳定了</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：陈</title>
		<link>http://www.stars625.com/firefighterdata.html/comment-page-1#comment-33</link>
		<dc:creator>陈</dc:creator>
		<pubDate>Thu, 11 Jun 2009 17:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.stars625.com/?p=136#comment-33</guid>
		<description>pre_temp[channel][3]=pre_temp[channel][2];//递推入列
	pre_temp[channel][2]=pre_temp[channel][1];
	pre_temp[channel][1]=pre_temp[channel][0];
	pre_temp[channel][0]=(uint16)sum;	
	sum = 0;	
	sum += pre_temp[channel][3];//累加
	sum += pre_temp[channel][2];
	sum += pre_temp[channel][1];
	sum += pre_temp[channel][0];	
	sum &gt;&gt;= 2;	//求均值
	return (uint16)sum;
不能理解，能解释下嘛？
第一次采集AD后，静态变量pre_temp[channel][2]，有值吗？如何赋值的？
         pre_temp[channel][3]=pre_temp[channel][2];//递推入列
	pre_temp[channel][2]=pre_temp[channel][1];
	pre_temp[channel][1]=pre_temp[channel][0];
	pre_temp[channel][0]=(uint16)sum;
这段话如何工作？
自己先偷懒了，没去跑跑试试看，呵呵</description>
		<content:encoded><![CDATA[<p>pre_temp[channel][3]=pre_temp[channel][2];//递推入列<br />
	pre_temp[channel][2]=pre_temp[channel][1];<br />
	pre_temp[channel][1]=pre_temp[channel][0];<br />
	pre_temp[channel][0]=(uint16)sum;<br />
	sum = 0;<br />
	sum += pre_temp[channel][3];//累加<br />
	sum += pre_temp[channel][2];<br />
	sum += pre_temp[channel][1];<br />
	sum += pre_temp[channel][0];<br />
	sum &gt;&gt;= 2;	//求均值<br />
	return (uint16)sum;<br />
不能理解，能解释下嘛？<br />
第一次采集AD后，静态变量pre_temp[channel][2]，有值吗？如何赋值的？<br />
         pre_temp[channel][3]=pre_temp[channel][2];//递推入列<br />
	pre_temp[channel][2]=pre_temp[channel][1];<br />
	pre_temp[channel][1]=pre_temp[channel][0];<br />
	pre_temp[channel][0]=(uint16)sum;<br />
这段话如何工作？<br />
自己先偷懒了，没去跑跑试试看，呵呵</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：陈</title>
		<link>http://www.stars625.com/firefighterdata.html/comment-page-1#comment-32</link>
		<dc:creator>陈</dc:creator>
		<pubDate>Thu, 11 Jun 2009 17:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.stars625.com/?p=136#comment-32</guid>
		<description>校内找到的同学，你好！我工作涉及嵌入式也一直在学习。
想听听你的意见，共同交流！我的Q   16705879</description>
		<content:encoded><![CDATA[<p>校内找到的同学，你好！我工作涉及嵌入式也一直在学习。<br />
想听听你的意见，共同交流！我的Q   16705879</p>
]]></content:encoded>
	</item>
</channel>
</rss>
