Joe, Scott's pages are worth a look http://www.dattalo.com/technical/theory/sinewave.html http://www.dattalo.com/technical/software/software.php He doesn't do the PWM bit but does cover the data generation Joe --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .