Figure 2. A discrete LED driver circuit using a resistor in series with the supply voltage. The application is for 12Vac landscape lighting.