I have a function generator that can control frequency, amplitude, and waveform; but it can't perform pulse-width modulation. I want to use the function generator to form a square wave signal with a certain frequency and amplitude, then input the signal into an arduino uno. I want to use the arduino to change the duty cycle of the input supplied from the function generator. Then, output the signal with a specified duty cycle. I'm completely new to ardunio, so any tips?
Thanks in advance!