Move pac.update out of adc read loop
Add comments explaining which resistor is used