AnsweredAssumed Answered

To vary duty cycle of pwm according to adc value

Question asked by bharti sharma on Sep 8, 2017

Hello all, 

My question is how to read ADC  value ( AC and DC (voltage and current ) ) If I want to generate 20khz signal and vary duty cycle (0-100%) of PWM according to ADC value   how it can do and how to reload any value of  PWM (at instant of time) Please guide me with an example 

Outcomes