On 12/2/06, haldemir55 wrote: > > I realise An696 application on microchip site but I want to modify this > project for controlling 4 independent motor. Your ask is presuming that all people here will read AN696. Believe me they don't. However I read it just for curiosity, right now. > Is it possible or how can I do. In the spirit of AN696 hardware it's possible only if you have a PIC with four CCP modules (you need 4 hardware PWM outputs) and of course four incremental encoders, one for every motor. I look the c source code M doesnt used as an > input instruction. Is it possible to use M1 for module 1, M2 for module 2 so > on. For example when I enter M1 instruction before command only module 1 do > the command. I haven't patience to read the code, sorry, but I'm sure others will do. greetings, Vasile -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist