it will just change the intensity that go through the diode.
so from :
330 ohm will give around 11 mA
220 ohm 17 mA
150 ohm 25 mA
the foramula is :
(Tension delivered - tension needed)/R = Intensity.
I use 5volts for delivered by arduino and 1,2 volts needed by Del. So : (5-1.2)/330 = 0,01151515