added the adc to the project. and it is working well. still need to add other features.
working on adding the pwm. but there is some resistance.