Skip to content

Commit 54acd03

Browse files
committed
Sane default configuration
1 parent 21dd6cc commit 54acd03

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: ardufocus/config.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272
// Activate the following directive if you'd like to invert the motor rotation
7373
// changing the focus direction.
74-
#define INVERT_MOTOR_DIR
74+
//#define INVERT_MOTOR_DIR
7575

7676
// When active ardufocus will apply a trapezoidal acceleration profile to the
7777
// motor's speed, this feature is EXPERIMENTAL. The objective is to help the
@@ -81,15 +81,15 @@
8181
// When active ardufocus will cut the stepper motor current when idle, in theory
8282
// this could lead to less accuracy betwen movements but will keep the motor
8383
// cool. When disabling this flag make sure your motor does not overheat.
84-
//#define MOTOR_SLEEP_WHEN_IDLE
84+
#define MOTOR_SLEEP_WHEN_IDLE
8585

8686
// When active each two half-steps will increase one unit on the step counter
8787
// thus making distance-per-step constant between the two stepping modes, full
8888
// and half.
8989
//
9090
// Enable this flag if you're using a cheap stepper motor such as 28BYJ-48 and
9191
// verify if the overall system accuracy increases.
92-
#define COMPRESS_HALF_STEPS
92+
//#define COMPRESS_HALF_STEPS
9393

9494
// ----------------------------------------------------------------------------
9595
// Temperature sensor configuration -------------------------------------------

0 commit comments

Comments
 (0)