Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Bi-Colour LED coontrol with one pin?

2006-03-04 by Russell Shaw

Tom Becker wrote:
>>... The circuit can be simpler if separate LEDs are used...
> 
> Far simpler than that, in fact.  Two base resistors, one driving an NPN 
> base, LED and current-limiting resistor, and one pulling down a PNP, LED 
> and current-limiting resistor.

Already thought of that. With the AVR pin high-Z, base current will drain
out the pnp base and into the npn base, switching both leds On.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.