Adafruit-PWM-Servo-Driver-Library icon indicating copy to clipboard operation
Adafruit-PWM-Servo-Driver-Library copied to clipboard

create PWMServoDriverGroup

Open Nosille opened this issue 7 months ago • 1 comments

This change creates a new class "Adafruit_PWMServoDriverGroup" that allows a user to interact with multiple Adafruit PWM Servo's drivers like that are a single device. It accomplishes this by maintaining a list of "Adafruit_PWMServoDriver" objects and exposing functions that switch between them as required to maintain the illusion of a single device.

Nosille avatar Apr 30 '25 02:04 Nosille

hiya! thanks so much for submitting a PR! we can review & merge PRs once they have passed continuous integration (CI). that means that code compiles cleanly for all tested platforms, is clang formatted so we maintain the same text formatting for all new code, and is doxygen documented. if your code isnt passing, check the CI output (click on the red X next to the PR to scroll through the log and find where the error is

here is a tutorial on doxygen: https://learn.adafruit.com/the-well-automated-arduino-library/doxygen

and clang-format: https://learn.adafruit.com/the-well-automated-arduino-library/formatting-with-clang-format

and overall how to contribute PRs to libraries: https://learn.adafruit.com/contribute-to-arduino-with-git-and-github

once you get that green checkmark that indicates CI has passed, please comment reply to this post so we know its time for another review (we may not get notified on CI pass and miss that its time to look!)

ladyada avatar May 02 '25 21:05 ladyada