This driver controls the 10 W white LED with button clicks. The led command is attached to PB4/leg3 of the ATtiny and driven with fast PWM at a frequency tuned at 3.8 kHz. One click increases the intensity, a double-click gets it directly to the maximum and a long-press get the microprocessor into deep-sleep. The reset button allows the waking-up of the ATtiny.
Ещё видео!