Since red LED has lower voltage drop than green you can use this:
Vcc
|
resistor
| —————— pushbutton —————|
G LED R LED
| |
GND GND
Since red LED has lower voltage drop than green you can use this:
Vcc
|
resistor
| —————— pushbutton —————|
G LED R LED
| |
GND GND