use device id to decide adc resolution