Adafruit-PWM-Servo-Driver-Library
Adafruit-PWM-Servo-Driver-Library copied to clipboard
Add `setMultiplePWM()` function
Purpose
Having to update up to 16 servo takes a long time as each update needs to start and end an I2C transmission.
The function setMultiplePWM allows for bulk update of pwm values.
Description
The function creates and populates a buffer with pwm settings for multiple channels before sending it in one I2C transmission.
Scope
- This addition does not change existing functionality, but adds a new function to the library.
Examples
- The example
pwmtest.inois a great example of the use case