Added ADC read mechanism.
Added PWM control mechanism.