add example for ADC based on previously used PWM stuff