Datasheet
Using the Adafruit Library
Since the PWM Servo Driver is controlled over I2C, its super easy to use with any microcontroller or microcomputer. In
this demo we'll show using it with the Arduino IDE but the C++ code can be ported easily
Install Adafruit PCA9685 library
To begin reading sensor data, you will need to install the Adafruit_PWMServo library (code on our github repository). It
is available from the Arduino library manager so we recommend using that.
From the IDE open up the library manager...
And type in adafruit pwm to locate the library. Click Install
We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use
Test with the Example Code:
First make sure all copies of the Arduino IDE are closed.
Next open the Arduino IDE and select File->Examples->Adafruit_PWMServoDriver->Servo. This will open the example
file in an IDE window.
© Adafruit Industries https://learn.adafruit.com/adafruit-16-channel-pwm-slash-servo-shield Page 20 of 27