Hi, you might want to look at that PR in the origin of this fork: [Fix D component](https://github.com/pms67/PID/pull/13)