16-11-2012, 12:42 PM
I'm using an AVR Mega 168 to generate a sine wave via pulse width modulation. My goal is to generate a sine wave with a frequency of approximately 50Hz. I understand that the PWM frequency needs to be as fast possible so its easier to attenuate in the filter.