Simple python code to test a 360 servo using gpiozero library with the servo signal cable connected to GPIO 4
This example uses the gpiozero library
sudo apt-get install python3-rpi.gpio
sudo pip3 install gpiozero
You should connect the servo to GPIO 4 on the Pi and use the provided power supply from S9 lab