beta1

Dependents:   Ex_Stepper

Fork of a4998 by Keegan Hu

Revision:
1:209911ee18cd
Parent:
0:173936452e07
Child:
2:57c57267b1da
diff -r 173936452e07 -r 209911ee18cd a4988.cpp
--- a/a4988.cpp	Wed May 02 10:48:23 2018 +0000
+++ b/a4988.cpp	Sat May 05 14:11:09 2018 +0000
@@ -16,7 +16,7 @@
         direction = 1;
     }
     remain = _remain;
-    step_ticker.attach(this, &Stepper::step_control,1.0/frequency);
+    step_ticker.attach(this, &Stepper::step_control,0.5/frequency);
 }
  
 void Stepper::enable()