Library for 16 channel PWM servo driver PCA9685. v2
Fork of Adafruit-PWM-Servo-Driver by
Diff: Adafruit_PWMServoDriver.h
- Revision:
- 1:69033d5e289b
- Parent:
- 0:9d01b5d37adc
- Child:
- 3:07497eda12c2
--- 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;