i need to design a pwm generation with atmega8..
the frequency and duty cycle of the signal ought to be changeable.
the frequency interval: 500Hz- 5khz
because the fast pwm mode of the timer2 of atmega8 doesn't support my goal i need to write a program
i dont want you to write all the program.
plz give me a hand only about the framework information