added register print to adc example