Skip to content

Commit

Permalink
Brief start
Browse files Browse the repository at this point in the history
  • Loading branch information
peteGSX committed Feb 19, 2024
1 parent 2694ce4 commit f1547d3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config.example.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@
// Step counts sent from EX-CommandStation will be multiplied by this number.
#define STEPPER_GEARING_FACTOR 1

/////////////////////////////////////////////////////////////////////////////////////
// If dealing with steppers that have a lot of slop, it can be beneficial to force
// rotating in one direction only. Enable one (and one only) of the below options if
// a single rotation direction is required.
//
// #define ROTATE_FORWARD_ONLY
// #define ROTATE_REVERSE_ONLY

/////////////////////////////////////////////////////////////////////////////////////
// Define the LED blink rates for fast and slow blinking in milliseconds.
//
Expand Down
4 changes: 4 additions & 0 deletions defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,8 @@
// Define current version of EEPROM configuration
#define EEPROM_VERSION 2

#if defined(ROTATE_FORWARD_ONLY) && defined(ROTATE_REVERSE_ONLY)
#error Both ROTATE_FORWARD_ONLY and ROTATE_REVERSE_ONLY defined, please only define one or the other
#endif

#endif
1 change: 1 addition & 0 deletions version.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
// - Add interactive serial command R to reset the EX-Turntable microcontroller
// - Add interactive serial command T to enable/disable sensor testing mode
// - Add interactive serial command V to display version and other system info
// - Add ability to force single direction rotation only for steppers with a lot of slop
// 0.6.0:
// - Rewrite into multiple files
// - Convert steps to long to match AccelStepper and cater for large step counts
Expand Down

0 comments on commit f1547d3

Please sign in to comment.