Need a low frequency (can preset at each value of 15Hz to 25Hz) PWM signal

Thanks. I had added setup and pin declarations: A0 input from the pot which, same as per my previous design, has the pot wired as you describe) and; pin 13 for the PWM output. It did not successfully compile. It did not seem to like the declaration of 'duty cycle'. I'll take another look.