Point a servo anywhere from 0 to 180 degrees: sweep it back and forth with a for loop, then aim it with a knob, using the Servo library. This workbench needs JavaScript.