[Leo] solved both problems by using two of the three PWM channels on the chip in concert — one to control the current and one to PWM the LED. The circuit he came up with is deceptively simple ...
[YS] was inspired to come up with the circuit after reading Wednesday’s Re:load dummy load post. That was a constant current load, not a constant resistance load. [YS] started with the schematic ...