Skip to content

Add 3-phase and yield, interrupt, to make non-blocking #52

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 10 commits into
base: master
Choose a base branch
from

Conversation

JosephBrendler
Copy link

Add 3-phase and yield, interrupt, to make non-blocking

3-phase motor such as common HDD or FDD motor
  Note: tie common wire LOW, or invert control signals and tie common to +V

interrupt() method allows external user code to interrupt long-running otherwise-blocking while() loop in void Stepper::step(int steps_to_move)

yield() in same while loop avoids WDT-timeout crashes on some controllers, such as Heltec's wifi kit 32
add 3-phase; add interrupt method/flag; add yield
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jul 10, 2024
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.

2 participants