<?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: Two LEDs on 1 AVR line</title>
	<atom:link href="http://www.muzique.com/news/two-leds-on-1-avr-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.muzique.com/news/two-leds-on-1-avr-line/</link>
	<description>Stompboxes, Schematics, Guitars and Electronics</description>
	<lastBuildDate>Thu, 09 Feb 2012 00:01:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.muzique.com/news/two-leds-on-1-avr-line/comment-page-1/#comment-1283</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 07 Aug 2010 13:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.muzique.com/news/?p=664#comment-1283</guid>
		<description>Skot, I tried the single resistor version first and it did not work as well as having separate resistors...  if fact, if I&#039;m not mistaken, it would not work at all.

I think if you tri-state the micro pin, both LEDs should be lit in my version. I&#039;ve been planning on breadboarding this to check it out.

-Jack</description>
		<content:encoded><![CDATA[<p>Skot, I tried the single resistor version first and it did not work as well as having separate resistors&#8230;  if fact, if I&#8217;m not mistaken, it would not work at all.</p>
<p>I think if you tri-state the micro pin, both LEDs should be lit in my version. I&#8217;ve been planning on breadboarding this to check it out.</p>
<p>-Jack</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skot Wiedmann</title>
		<link>http://www.muzique.com/news/two-leds-on-1-avr-line/comment-page-1/#comment-1281</link>
		<dc:creator>Skot Wiedmann</dc:creator>
		<pubDate>Thu, 05 Aug 2010 19:01:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.muzique.com/news/?p=664#comment-1281</guid>
		<description>Save one resistor by connecting it between the pin and the LED instead. Or raise the resistor values enough that a tristate pin can let them both float off.  Then you can use a fairly fast square wave to turn them both on.  4 states from one output pin!</description>
		<content:encoded><![CDATA[<p>Save one resistor by connecting it between the pin and the LED instead. Or raise the resistor values enough that a tristate pin can let them both float off.  Then you can use a fairly fast square wave to turn them both on.  4 states from one output pin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.muzique.com/news/two-leds-on-1-avr-line/comment-page-1/#comment-1077</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 27 May 2010 23:23:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.muzique.com/news/?p=664#comment-1077</guid>
		<description>This is better than charlieplexing for small numbers of LEDs...  each AVR or PIC output pin with this method can drive 2 LEDs.  If you are using 3 output pins, then 6 LEDs can be controlled, which is the same as with charlieplexing. However, 2 output pins in charlieplexing can only control 2 LEDs, but 4 can be used with this method, and nothing can be done with 1 charlieplexed pin and 2 are controlled here.

For more than 6 indicators, charlieplexing is the way to go but for 6 or less, this is a better idea, especially since it is so easy to write code for it. Just toggle the right pin to turn on a selected LED - no matrix to worry about and no tri-state!</description>
		<content:encoded><![CDATA[<p>This is better than charlieplexing for small numbers of LEDs&#8230;  each AVR or PIC output pin with this method can drive 2 LEDs.  If you are using 3 output pins, then 6 LEDs can be controlled, which is the same as with charlieplexing. However, 2 output pins in charlieplexing can only control 2 LEDs, but 4 can be used with this method, and nothing can be done with 1 charlieplexed pin and 2 are controlled here.</p>
<p>For more than 6 indicators, charlieplexing is the way to go but for 6 or less, this is a better idea, especially since it is so easy to write code for it. Just toggle the right pin to turn on a selected LED &#8211; no matrix to worry about and no tri-state!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

