shiva prasad ellendula

regarding comparision of two signals in MC9S08SH8

Discussion created by shiva prasad ellendula on Feb 5, 2010
Latest reply on Feb 5, 2010 by David Payne
hello all.
In my application, i have to generate saw tooth waveform and i have to compare sawtooth with the variable DC voltage to generate PWN in real time.
so anyone help me out, how to generate the sawtooth and how to compare with variable DC.
please provide me pseudo code for comparision of sawtooth with variable DC voltage. and anysort of information related to this, please send me the links (like application notes etc)

thanking you