>if the code does not in some way add a proportional >term, and integral term and a derivative term, then >it is not a PID controller. There is always the possibility that the code as it stands now is not PID, even though the original intention when the original coder started out was to have PID, but then found it unsuitable, and never changed the comments. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist