I want to see if it is doable to control two leds with one pic output.
charplexing was first idea but ??
End result is alternately blink the two leds back and forth.
Not real important but for this application it would be better than one led blinking.
my first thought
5v+-----I>-----resistor---pic pin1
grd-----<I-----resistor---pic pin1
then just have the pic pin high / low
not real happy with it but?? pretty basic design.
that is exactly what I am doing, two leds, two resistors and alternate the port HIGH then LOW
was hoping to go with something a little bit more exotic like only one resistor but went the KISS method.
I just tried this with a pic18f1220 it don't work one led blinks only did you test this.
This is funny but I tried this with 2 pic16f1825 and 18f1220 they both wouldn't source power
they sink and bink led. OK I figured it out bad resistor out the bag.
It doesn't turn off the leds when set to input. I'm using two 1 k the blink not bad
Like Mike said you can turn one off one on but not both off they light up dim But with the 2 diodes 4 supply they both go off without the diodes the voltage needs to be around 3.2 volts to turn off both. it the way the port pins are made the protection diodes