> I am just starting a new project requiring a closed loop PWM controlled > motor, aswell as A2D conversion etc. > > I read the reply posted by Chunhee and went looking at Piclist.com for PWM > code. I could not find any! > I do not wish to offend anyone but I also find the site difficult to > navigate. I have done a project using a 16F877 that included a servo controller of an electric motor driven by PWM. It uses the A/Ds to measure inputs and feedback signals and does floating point servo calculations. It included a serial link to an optional host computer for debugging or setting up the control parameters. The host can even perform the servo calculations for easy experimenting. If any of this could be useful to you and you'd like professional help, please contact me privately: Olin Lathrop Cognivision, Inc 43 Buena Vista, Suite 307-B Devens, MA 01432-6627 United States of America (978) 772-3129 olin@cognivis.com ***************************************************************** Olin Lathrop, embedded systems consultant in Devens Massachusetts (978) 772-3129, olin@cognivis.com, http://www.cognivis.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.