adc interupt flag passing data to loop