Library for interfacing with the NXP PCA9685 PWM controller over an I2C connection. Designed with the Adafruit breakout board (of the same name) in mind.
Diff: PCA9685.h
- Revision:
- 3:a3410f2f061d
- Parent:
- 0:aa965d6b1f8f
- Child:
- 5:d44f88fa27a1
--- a/PCA9685.h Thu Apr 07 20:12:00 2016 +0000 +++ b/PCA9685.h Thu Apr 14 16:00:40 2016 +0000 @@ -11,6 +11,7 @@ PCA9685(uint8_t i2c_addr, I2C i2c_object, float frequency); void init(void); void set_pwm_output(int pwm_output, uint16_t count_on, uint16_t count_off); + void set_pwm_output_on_0(int pwm_output, uint16_t count_off); void set_pwm_duty(int pwm_output, float duty_cycle); void set_pwm_pw(int pwm_output, float pulse_width_us); void update(void);