I am trying to generate a variable frequency (few Hz to 100 Hz) PWM waveform to drive an H-Bridge.
A Potentiometer varies a voltage which in turn varies the Frequency.
How should i proceed with this?
1)I have used native PWM CH0 pin as Edge-aligned PWM.
2)I use a 256 byte LUT(Look up table)
3)PWM frequency 15.625 Khz
4)Used Timer overflow interrupt to update Duty cycle from LUT value.
5)Haven't yet implemented ADC-->PWM updates.
What I need is a guideline, as to, what should be the best method and limitations etc with QG8.
Also am not sure how i will change the frequency (up to 100 Hz) with this.
Please someone throw some light....