Added basic support for ADC