Re: Unstable sine PWM output
Hi, Pxidr84
Something caught my attention ... in the reloading, you use DIV32; are you sure there's no possible interrupt while DIV32 works ???
as timer0 is a low priority interrupt ... I'd check that two or three times.
... just an idea after a very quick browse ... 
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks