Acheived basic ADC