Skip to content

Half-steps in stepper library for 4-wire motors [imported] #2

Description

@agdl

From @cmaglie on November 15, 2012 18:19

This is Issue 139 moved from a Google Code project.
Added by 2009-11-05T07:28:01.000Z by john.zan...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium

Original description

Using a half-step-library would double the precision of the stepper.

Attached you'll find my proposal for the changed Stepper library. I kept
the changes to a minimum.
It contains a new (added) constructor, a private boolean which indicates
whether or not to use the half-step system. The Stepper::step function was
changed to allow 2, 4, or 8 steps and the Stepper::stepMotor was changed
to send the 8 different signals to the 4 wires.

Users who created sketches using the previous lib can change to this new
library without compatibility problems.

Copied from original issue: arduino/Arduino#139

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions