Scaled PID feedback calculations for 12-bit ADC's