SunFounder PiDog Kit, Release 1.0
Now, run servo_zeroing.py in the examples/ folder.
cd /home/pi/pidog/examples
sudo python3 servo_zeroing.py
Note: If you get an error, try re-enabling the Raspberry Pi’s I2C port, see: i2c_config.
Next, plug the servo cable into the any PWM port.
42 Chapter 2. Play with Python