This is a very simple mains isolated dimmer with a triac output (phase control). It uses timer0 to do the timing.
There is no user interface, the value of the triac ignition delay after a zero crossing is defined by setting the reload value of timer0 (Tmr0) in the software directly. This value...