Need some help for a science project.

Oh. Now I understand what you mean. I did sweep and it worked, but I haven't tried knob yet, because I don't have a potentiometer.