luben111
Advanced Member level 1
How to drive 2 LEDs from one wire
Hi,
An old idea, that I realized many years ago.
You make one voltage of let's say 2.5V - by simple 2 resistors.
You connect two LEDs to the uP pin and other end to the middl epoint of resistors.
LEDs are with oposide ends - when you push the uP pin to 0 - one of LEDs is lighting, other is dark and visa versa.
When you make the pin TRISTATE - no lighting..
Regards
Luben
Hi,
An old idea, that I realized many years ago.
You make one voltage of let's say 2.5V - by simple 2 resistors.
You connect two LEDs to the uP pin and other end to the middl epoint of resistors.
LEDs are with oposide ends - when you push the uP pin to 0 - one of LEDs is lighting, other is dark and visa versa.
When you make the pin TRISTATE - no lighting..
Regards
Luben