How can I change the color of a RGB LED with the push of a button (i.e., push once for red, again for green, etc.).
8
answers
|
Answer it!
|
L
L
Hint: use the pushbutton as the clock source thru a Schmidtt trigger (to debounce clk> )
What you want to do is do-able with simple logic, but depends on the wiring of the LED. Are you going to use separate RGB elements, or are they arranged with common wires, or back-to-back ?
Steve
![]() |


































