Quote Originally Posted by midali View Post
...or , how I can make SPWM without intrerupts...?
Darrel came up with a terrific piece of code for my project - have a look at this thread:

http://www.picbasic.co.uk/forum/showthread.php?t=17299