You don't read ADC (feedback) whitin the while loop.

Cheers

Al.