What's the best way to solve this?
Diodes are the way to go. You can solder it on the lamp's pins so your board remains intact and can work with LEDs in the future.
BTW, you can dim the lambs by pwm the HC595's OE pin, further simplying your design.
What's the best way to solve this?
Diodes are the way to go. You can solder it on the lamp's pins so your board remains intact and can work with LEDs in the future.
BTW, you can dim the lambs by pwm the HC595's OE pin, further simplying your design.