Lutron Electronics Interview Question

design a dimmer using microcontroller