run analog to digtal in micro avr