Unable to generate a PWM pulse
I am using the ST discovery board, which has STM8S003K3. I have written a code that generates a PWM pulse when ADC senses that the input voltage is higher than a threshold value. I have tested this program with a Potentiometer and verified the wavefo...