added function to retrieve the ADC value and selected low side resistance