Jan-Erik wrote: It's >probably a bit easier using analog parts such as >opamps with CR pr RC links to get the D and I parts of >the regulation loop. It's also probably easier to >find solution out on "the net" using analog parts. >But it's a bit more "involved" using software. >A standard RC-servo (?) is a rather "fast" >mechanical part to control, so it might be hard to get a >smooth regulation if the same PIC at the same time should >handle the serial link and other stuff. > >I'm sorry I can't help more then that... :-) > >This is an application field where the dsPIC's probably >have better "tools" to handle the calculations involved >in the regulation. Hi Jan-Erik Thats OK i'm sure i'll figure it out sooner or later. Thanks for the help anyway O ya...PIC 18f452 Jason -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist