Skip to content
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

Create a simple wrapper/factory for "servo hats" #177

Merged
merged 3 commits into from
Aug 17, 2023

Conversation

EAGrahamJr
Copy link
Contributor

Wraps the PCA9685 controller so that servos don't get re-used accidentally. Additionally, sets up a default singleton, also to avoid collisions.

Wraps the PCA9685 controller so that servos don't get re-used accidentally. Additionally, sets up a default singleton, also to avoid collisions.
If a servo is initialized with the _default_ initial setting, there's a large likelyhood that it will "jump" to that position, thereby stressing the physical mechanism. Setting this is **intended** to prevent this, but not 100% guaranteed.
@mattjlewis mattjlewis merged commit e2dc7ef into mattjlewis:main Aug 17, 2023
1 check passed
@EAGrahamJr EAGrahamJr deleted the servo-factory branch August 17, 2023 21:52
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.

None yet

2 participants