Now works with real ADC