now reads from adc and passes value to dac