The servo tutorial, https://docs.arduino.cc/learn/electronics/servo-motors/, has 2 schematics, one for the 'Knob' example and another for the 'Sweep' example. The two schematics are swapped.