Go Down

Topic: DAC (Read 3901 times) previous topic - next topic


I think I'll just use the sine (sin) wave approach. Also, is there a floating point PI constant that I can use with the sin() function?


By building a wavetable you offload the computation to your PC.
I build the wavetable table using Perl with its builtin SIN function.
That way the uC only has to perform a lookup rather than
a calculation.

Some students at Georgia Tech used the code as a DDS example
for a synth project --

(* jcl *)
www: http://www.wiblocks.com
twitter: http://twitter.com/wiblocks

Go Up