<?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>Comments on: Basic IO: Button Debounce</title>
	<atom:link href="http://www.engscope.com/pic-example-codes/basic-io-button-debounce/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.engscope.com</link>
	<description>Engineering, Kayaking, Guitar and More</description>
	<lastBuildDate>Wed, 01 Sep 2010 00:29:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: jliu83</title>
		<link>http://www.engscope.com/pic-example-codes/basic-io-button-debounce/comment-page-1/#comment-4151</link>
		<dc:creator>jliu83</dc:creator>
		<pubDate>Thu, 03 Sep 2009 11:40:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.engscope.com/?page_id=244#comment-4151</guid>
		<description>Would work however, interrupts, especially external interrupts are hot commodities.  You would want to reserve them for input captures of digital signals, not waste them on buttons.  The lower model PICs has 3 external interrupts, and some only have 1 I believe.  The software oversampling filter really is the most elegant solution because you can use any old input pin and save your interrupt resources.

-J</description>
		<content:encoded><![CDATA[<p>Would work however, interrupts, especially external interrupts are hot commodities.  You would want to reserve them for input captures of digital signals, not waste them on buttons.  The lower model PICs has 3 external interrupts, and some only have 1 I believe.  The software oversampling filter really is the most elegant solution because you can use any old input pin and save your interrupt resources.</p>
<p>-J</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MooCow</title>
		<link>http://www.engscope.com/pic-example-codes/basic-io-button-debounce/comment-page-1/#comment-4137</link>
		<dc:creator>MooCow</dc:creator>
		<pubDate>Wed, 02 Sep 2009 19:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.engscope.com/?page_id=244#comment-4137</guid>
		<description>Another idea would be to hook an interrupt on the input. When the button is pushed, the interrupt is called and the routine does its work. But it also flags that input as disabled for the next 20ms and sets itself to be recalled after 20ms to reset everything to be ready for another button press.

Makes sense?</description>
		<content:encoded><![CDATA[<p>Another idea would be to hook an interrupt on the input. When the button is pushed, the interrupt is called and the routine does its work. But it also flags that input as disabled for the next 20ms and sets itself to be recalled after 20ms to reset everything to be ready for another button press.</p>
<p>Makes sense?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
