add initial adc code
added timer-driven interupts