I am making a DIY sea sweep to control powerheads. I am new to Arduino but figured out the setup for the sweep on the servo. Is there a way to add a potentiometer that will allow me to adjust the speed of the sweep? I can adjust the speed in the code but cannot find code for the potentiometer. Any help would be greatly appreciated.