For this last lesson we will simulate a servo that we will control with a potentiometer. The steps are shown in the video above.
Select the used inputs and outputs on the simulator. In this case we use a potentiometer on analog pin A0 to change the angle in degrees (°) on the servo. The servo is connected to digital pin 9, connected with the .attach() instruction. Connect the Arduino with the COM port in the simulator and start simulating.