summaryrefslogtreecommitdiffstats
path: root/stm32/app/project.h
diff options
context:
space:
mode:
authorroot <root@artemis.panaceas.org>2021-11-29 12:40:33 +0000
committerroot <root@artemis.panaceas.org>2021-11-29 12:40:33 +0000
commit440039cb23f786573940ec1eafa665f9de561eae (patch)
tree214d717d424dbf4df8e336d3136def3718ea0c1d /stm32/app/project.h
parent2d4ca4ab5080ee588f57fed1420cdd146a6a1d07 (diff)
downloadmetric_clock-440039cb23f786573940ec1eafa665f9de561eae.tar.gz
metric_clock-440039cb23f786573940ec1eafa665f9de561eae.tar.bz2
metric_clock-440039cb23f786573940ec1eafa665f9de561eae.zip
fish
Diffstat (limited to 'stm32/app/project.h')
-rw-r--r--stm32/app/project.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stm32/app/project.h b/stm32/app/project.h
index 97b992c..471683b 100644
--- a/stm32/app/project.h
+++ b/stm32/app/project.h
@@ -37,7 +37,8 @@
#define HANDS 2
//#define MOTOR_STEPS (1080 * 2)
//#define MOTOR_STEPS (720 )
-#define MOTOR_STEPS (1080 )
+#define USTEP 16
+#define MOTOR_STEPS (720*USTEP)
#define MOTOR_PHASES 6
#include "board.h"