Corrected bug in ADC. Was waiting for bit set instead of clear.