You have chosen to sponsor your bid up to a maximum amount of .
I need to generate a PWM signal of variable frequency and variable duty cycle. I am using ATMega16 MCU. The frequency and duty cycle is varied using incremental and decremental push buttons. The frequency needs to be varied form 1Hz to 2.5Khz, in steps of 1Hz, whereas duty cycle needs to be varied from 0 to 100% in steps of 0.1%.