if you're just replacing an led to begin with then i dont think you need a resistor, as it should already be set up for the leds