Analogue input when changing Vref

Thanks, i think you solved all my doubts XD