There is no frequency in mind. I just want to learn more about TMR0 interrupt and the generation of sine wave using PWM technique. The only thing I didnt mention in my first post is that once TMR0 interrupt is occurred, in the interrupt function, the TMR0L value is set to 200. So it counts up to 255 and then overflows.
Bookmarks