$ 0 0 hi guys...i m implementing PID for generating PWM...my program of derivative doesnt take -ve values...what should i do.....