Is it possible to make a function generator with a microcontroller (PIC18F4550 OR PICAXE20X2)?
I am thinking that for generating square waves it can be enough to make a pin output high and low on desired time frames. But how about a sinewave? Maybe it is possible with the same idea but putting a inductor or something at the output?
If you generaly think this can work I want to start doing it!
UPDATE First of all I have to thank all the answers, it really gave me some nice start points.
I have a rather good experience with PIC18F4550 as I did lots of small home project around this chip. So it would be my main choice. Here is a link to its datasheet
My main points is now as following: 1- Best way and mathematic approach for square waves 2- same thing for sine waves 3- Amplitude and frequency control