PAN / TILT Shield code example

I’m new to this and i’m looking for a code example specifically for the pan & tilt shield.
i found the code for the servo shield, it uses I2C with the PCA9685 but from what i understood the pan & tilt shield is driven directly from PWM out puts ?

You just run the board control → servo example. The camera can generate two channels of PWM by itself.