my 2axes stepper
Dependencies: mbed X_NUCLEO_IHM02A1
Diff: main.cpp
- Revision:
- 31:ea45071b46e0
- Parent:
- 30:da5a3676bfe9
- Child:
- 32:c8741915d088
--- a/main.cpp Mon Jan 27 13:35:43 2020 +0000 +++ b/main.cpp Mon Jan 27 13:41:52 2020 +0000 @@ -6,6 +6,8 @@ // MBED PUBLISH -A ////////////////////////// +#define Hovno 0 + #define MPR_1 4 /* Number of movements per revolution. */ #define STEPS_1 (400 * 128) /* 1 revolution given a 400 steps motor configured at 1/128 microstep mode. */