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

Add 4-wire 8-step Support for 28BYJ-48 Motor #4

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

Conversation

dthain
Copy link

@dthain dthain commented Mar 10, 2017

This PR provides support for 4-wire 8-step motors, such as the 28BYJ-48, which is very widely available now, and not well supported by this library. To enable the new 8-step pattern, construct the four-wire object as normal, then do this to enable the alternate pattern:

stepper.setBeatsPerPattern(8);

Behavior is unchanged for existing code and motors.

I confess that the terminology "beats per pattern" is a bit awkward; if anyone has a suggestion on how to more clearly represent this to the user, that would be great.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants