Try to use the ADC sample code.