Controlling with a potentiometer. RC

Yes.

(That answer is about as informative as the question)