LED with current limiting resistor