Look at the Compare Module. It's not strictly hardware by at 50 Hz who cares? On 8 Jun 2002 at 17:41, Andy Shaw wrote: > Hi, > What is the lowest frequency you can get using the PWM module (on say an > 16F877 with 4MHz xtal)? From looking at the docs it seems to me it is > 1000000/16/256 which is approx 244Hz. Is this correct I've been thinking of > using the PWM module to generate a standard R/C servo control pulse but this > has a frequency of 50Hz. I've not really used the PWM module before so just > exploring options at the moment. Failing this any other ways of using the > hardware to generate the pulse train. I've used the CCP module to do it but > that still involves code to start the process off every 20ms or so. > > Thanks > > Andy > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > > * | __O Thomas C. Sefranek tcs@cmcorp.com |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41, 448.625 MHz ARRL Instructor, Technical Specialist, VE Contact. http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.