I have a project which need to build a IR remote control to control the lighting system at home. The remote control are able to to switch on and off the light and can control the light intensity. Anyone has any suggestion for me about how this project going to be start? The hardest parts for me in this project is the MCU, how a MCU can control the light intensity by just using 2 switches?