pkourany / Adafruit_PWMServoDriver_IDE

Adafruit 16-channel PWM & Servo driver library adapted for Spark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adafruit 16-channel PWM & Servo driver

This library is for the Adafruit 16-channel PWM & Servo board.

Pick one up today in the adafruit shop! ------> http://www.adafruit.com/products/815

The library is compatible with Arduino and Spark Core.

Connections

These displays use I2C to communicate, 2 pins are required to interface:

For Arduinos: SCL -> Analog 5, SDA -> Analog 4

For Spark Core: SCL -> D1, SDA -> D0

Credits

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, check license.txt for more information All text above must be included in any redistribution

Adapted for Spark Core by Paul Kourany, Sept. 15, 2014

Loading on Arduino (only)

To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_PWMServoDriver. Check that the Adafruit_PWMServoDriver folder contains Adafruit_PWMServoDriver.cpp and Adafruit_PWMServoDriver.h

Place the Adafruit_PWMServoDriver library folder your /libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.

About

Adafruit 16-channel PWM & Servo driver library adapted for Spark

License:Other


Languages

Language:C++ 100.0%