This is a circuit for a 4-20mA input. There is a subtracting offset stage followed by a gain stage. I want to replace the pots by digital pots to make it programmable. The comparator up top is open circuit detector which will be connected to the MCU. The op-amps are single supply. The reference voltage of ADC will be 2.5V. Any comments on improvements?