Gearjammer´s solution sounds simple and reliable and cheap ( and thats a goodthing).
You do need to be sure you limit the current with a resistor however , or buy LEDs that contain resistors inside , which may be more rare . If your LEDs do not contain resistors , then they probably have a maximum current rating or 20mA or so .
I=V/R so for 12 volts use .020 = 12/R . ( no calculator on this PC so can`t solve that one for you ) . And that value is PER LED . If you want two LEDs use half the value and so on for more .
If no resistor is fitted , expect short but bright life span :-)
|