Creating sine with AVR
no vote
This is a source code of a 1200-BAUD FSK MODEM and I create a PWM based sine wave generator in the code with using AVR libraries. I used ATMEL ATMEGA2313 microcontroller and from the PWM-out-pin of ATMEGA2313, I generate a PWM signal. The PWM signal is in DDS form (Direct digital synthesis) so if you connet the pwm-output to a simple Low Pass Filter you can achieve a good sine wave. It's tested and applied code. Good Luck.