Pergunta de entrevista da empresa Lutron Electronics

Write a driver for dimming an LED.

Resposta da entrevista

Sigiloso

23 de fev. de 2024

I used a timer counter and PWM, with an interrupt on match turning the led off and an interrupt on overflow turning the led on.