adc and timer samples