12-bit PWM for LED lighting

So, I bought the Adafruit board you mentioned above, and since I couldn t find any Adafruit library concerning Leds and dimming (their library is only concerned with servos ( GitHub - adafruit/Adafruit-PWM-Servo-Driver-Library: Adafruit PWM Servo Driver Library ) I am trying to use the library you linked above, since they are both using the PCA9685. (It would be great if I could use it cause it uses the look up table for smooth (to the eye) dimming)
When I am trying to upload the example code, it gives me this error message " error: 'class PCA9685' has no member named 'setPWMFrequency' ".

What am I missing here?

(print screen image attached)