I've used 2 diodes 1n4007 insthead the resistor ( series ) and it works great.
I can set pwm beetween tree values = 0 (off) 128 (it doesn’t give much light but readable) 255 (max).
The current consumption respectively 86-105-118 mA.
I hope this help
Steve