aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTero K <tero.k@granitedevices.fi>2015-01-21 00:39:25 +0200
committerTero K <tero.k@granitedevices.fi>2015-01-21 00:39:25 +0200
commitd37c97b90b3b25088c9f951772b345f2907e4650 (patch)
tree73a77e6961837317735f6a97402971bca48577e6
parentdd2e3f34221a6dce4740bdd42bb59fa6a6273ed5 (diff)
downloadSimpleMotionV2-d37c97b90b3b25088c9f951772b345f2907e4650.tar.gz
SimpleMotionV2-d37c97b90b3b25088c9f951772b345f2907e4650.zip
add MOTOR_STEPPER_2PHA motor mode definition
-rw-r--r--doc/SMV2Protocol.pngbin0 -> 490470 bytes
-rw-r--r--simplemotion_defs.h2
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/SMV2Protocol.png b/doc/SMV2Protocol.png
new file mode 100644
index 0000000..7325afc
--- /dev/null
+++ b/doc/SMV2Protocol.png
Binary files differ
diff --git a/simplemotion_defs.h b/simplemotion_defs.h
index c6275e5..9f79663 100644
--- a/simplemotion_defs.h
+++ b/simplemotion_defs.h
@@ -295,6 +295,8 @@
#define MOTOR_AC_VECTOR_2PHA 2 /*2 phase ac or bldc */
//3 phase AC motor
#define MOTOR_AC_VECTOR 3 /*3 phase ac or bldc */
+ //2 phase stepper
+ #define MOTOR_STEPPER_2PHA 4 /*2 phase stepper */
//for drive internal use only:
#define _MOTOR_LAST 7