i need to create a AM coding but that coding need to have a signal generator to vary the frequency manually.
Sine wave = a*sin (2* PI * (sample/cycle))
how to put that signal generator equation to AM coding below
or have to edit the AM coding to make that coding can vary the frequency manually
Please help me !!!