PID Code with Serial Output Graph