UNO + unstable PWM + Linear Led Drive

Disclaimer: That is a 10k resistor. The LED driver is not shown.