Hi all, I've been off the forum for a while but am still busy with electronics.
I'm using a smd 40X2 in a project under design and have run out of I/O's. I need to run several status indicator LED's.
It occurred to me that it might be possible to run 2 LEDs of single pin by using 1 LED with its cathode to the pin and the other with its anode, and the other lead of the LED to either ground or supply. Then by either either high or lowing the picaxe pin one or the other LED will light or by setting the pin as an input neither will light.
Is my thinking correct on this? Breadboard test is next.
I'm using a smd 40X2 in a project under design and have run out of I/O's. I need to run several status indicator LED's.
It occurred to me that it might be possible to run 2 LEDs of single pin by using 1 LED with its cathode to the pin and the other with its anode, and the other lead of the LED to either ground or supply. Then by either either high or lowing the picaxe pin one or the other LED will light or by setting the pin as an input neither will light.
Is my thinking correct on this? Breadboard test is next.