Servo driver for the Adafruit 16 channel PWM I2C module

Dependents:   theRobot theRobotNEW theRobot theRobot ... more

Fork of Adafruit-PWM-Servo-Driver by Shundo Kishi

Revision:
1:69033d5e289b
Parent:
0:9d01b5d37adc
--- a/Adafruit_PWMServoDriver.h	Sat Aug 17 09:01:33 2013 +0000
+++ b/Adafruit_PWMServoDriver.h	Mon Aug 19 08:35:11 2013 +0000
@@ -55,6 +55,7 @@
   void setPWMFreq(float freq);
   void setPrescale(uint8_t prescale);
   void setPWM(uint8_t num, uint16_t on, uint16_t off);
+  void setDuty(uint8_t num, uint16_t duty);
 
  private:
   int _i2caddr;