Im trying to use bi-colored leds like this:
State one = no light
State two = green
State three = red
And I'd like to cycle across those states.
I got led connected to two PA's. I can swap the color but getting it turn off on the third state I don't know how to achieve. I can swap the color or just swap one color on and off. I've tried to work it with toggle flipflops and switches.
Any ideas?