![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
dasf
Fork of Ex_Stepper by
Diff: main.cpp
- Revision:
- 1:6d4a62f98351
- Parent:
- 0:19f886d481f3
- Child:
- 2:c944fc6cdfb7
diff -r 19f886d481f3 -r 6d4a62f98351 main.cpp --- a/main.cpp Wed Oct 11 03:38:41 2017 +0000 +++ b/main.cpp Wed Oct 11 06:19:41 2017 +0000 @@ -16,15 +16,15 @@ } int main() { - ticker_step.attach(&toggle_step, 0.001); + ticker_step.attach(&toggle_step, 0.0002); en = 0; //Enable stepper driver while (true) { dir = 0; - remain = 100; - wait(1); + remain = 3200; + wait(1.5); dir = 1; - remain = 100; - wait(1); + remain = 3200; + wait(1.5); } }