Skip to content

Add setMultiplePWM() function #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

runeharlyk
Copy link

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.ino is a great example of the use case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant