Why not just connect the LED directly to two data pins:
Pin2 ----- Resistor----- LED----Pin3Then you will get one color with Pin2 HIGH and Pin3 LOW and the other color with Pin2 LOW and Pin3 HIGH.
I'd go with that
Why not just connect the LED directly to two data pins:
Pin2 ----- Resistor----- LED----Pin3Then you will get one color with Pin2 HIGH and Pin3 LOW and the other color with Pin2 LOW and Pin3 HIGH.
I'd go with that