Added timer0 and 2 pwm functionality