changing frequency of sine wave

Hi,
I get sine wave from Arduino Due, thanks to this post;

It works and the frequency of sine wave is 50 Hz,
How can I change it?
Regards.

You turn the pot that is wired into the circuit.