summaryrefslogtreecommitdiff
path: root/tube-rotator/stepper.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-05-19 02:01:08 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-05-19 02:01:08 +0200
commitadc04cbabe0773835ef2c83d132502ef87ce5a62 (patch)
tree4a3db6da3097f87c487f0f985edc6869b92dbcb6 /tube-rotator/stepper.h
parentalso decreasing current speed (diff)
introduced some default speeds
Diffstat (limited to 'tube-rotator/stepper.h')
-rw-r--r--tube-rotator/stepper.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/tube-rotator/stepper.h b/tube-rotator/stepper.h
index ace7984..2e95736 100644
--- a/tube-rotator/stepper.h
+++ b/tube-rotator/stepper.h
@@ -23,9 +23,14 @@
#ifndef R3TUBE_stepper_h_INCLUDED
#define R3TUBE_stepper_h_INCLUDED
-#define STEPPER_MIN_SPEED 800
-#define STEPPER_DEFAULT_SPEED 200
-#define STEPPER_MAX_SPEED 80
+#define STEPPER_SPEED_MIN 500
+#define STEPPER_SPEED_MAX 80
+
+#define STEPPER_SPEED_60RPM 311
+#define STEPPER_SPEED_120RPM 155
+#define STEPPER_SPEED_180RPM 103
+
+#define STEPPER_SPEED_DEFAULT STEPPER_SPEED_120RPM
void stepper_init(void);
void stepper_start(void);