Very interesting article about the binary coded PWM.
Page 4 though; Note: From personal experience, if you try this experiment in reality, make sure that the batteries for your LED device are well held - It’s alarming how fast an AAA battery can travel from the end of a slingshot