Controlling with a potentiometer. RC

can you tell me how?

No.