PWM Output

You forgot the current limiting resistor, which may have damaged all of the I/O pins that you attempted to connect a LED directly.