Introduction - If you have any usage issues, please Google them yourself
Based on pic16f683 pwm wave generation, by controlling the pwm frequency, duty cycle and cycle control lights getting brighter gradually eliminate the time and mode of operation.