Hi All I'm trying to learn p16f873 pwm section. Do you have a simple code snippet that will read a 10k pot and output the pulse train? I would really appreciate it. Thanks in advance, Mark Willcox ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com