Skip to content

Commit

Permalink
Fix traverser example
Browse files Browse the repository at this point in the history
  • Loading branch information
peteGSX committed Feb 24, 2024
1 parent 7b03109 commit a214905
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions config.traverser.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,31 +79,36 @@
// Define the stepper controller in use according to those available below, refer to the
// documentation for further details on which to select for your application.
//
// ULN2003_HALF : ULN2003 in half step mode
// ULN2003_FULL : ULN2003 in full step mode
// A4988 : Two wire drivers (eg. A4988, DRV8825, TMC2208)
// ULN2003_HALF_CW : ULN2003 in half step mode, clockwise
// ULN2003_HALF_CCW : ULN2003 in half step mode, counter clockwise
// ULN2003_FULL_CW : ULN2003 in full step mode, clockwise
// ULN2003_FULL_CCW : ULN2003 in full step mode, counter clockwise
// A4988 : Two wire drivers (eg. A4988, DRV8825, TMC2208)
//
// NOTE: If you are using a different controller than those already defined, refer to
// the documentation to define the appropriate configuration variables. Note there are
// some controllers that are pin-compatible with an existing defined controller, and
// in those instances, no custom configuration would be required.
//

#define STEPPER_DRIVER ULN2003_HALF
// #define STEPPER_DRIVER ULN2003_FULL
// #define STEPPER_DRIVER A4988
// #define STEPPER_DRIVER ULN2003_HALF_CW
// #define STEPPER_DRIVER ULN2003_HALF_CCW
// #define STEPPER_DRIVER ULN2003_FULL_CW
// #define STEPPER_DRIVER ULN2003_FULL_CCW
#define STEPPER_DRIVER A4988
//
// If you need to invert the direction of the stepper, uncomment this line. This is likely
// required when using a TMC2208. It may also be required to change the rotation from
// counter clockwise to clockwise when using the ULN2003.
// When using a two wire driver (eg. A4988, DRV8825, TMC2208), it may be necessary to invert
// the direction pin. This is likely required when using a TMC2208. This has no effect on
// ULN2003.
// #define INVERT_DIRECTION
//
// When using a two wire driver (eg. A4988, DRV8825, TMC2208), it may be necessary to invert
// the step pin. If so, uncomment this line.
// #define INVERT_STEPS
// the step pin. If so, uncomment this line. This has no effect on ULN2003.
// #define INVERT_STEP
//
// When using a two wire driver (eg. A4988, DRV8825, TMC2208), it may be necessary to invert
// the enable pin behaviour if you wish to have the stepper driver disabled when not moving.
// This has no effect on ULN2003.
// #define INVERT_ENABLE

/////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit a214905

Please sign in to comment.