Final version of stepper motor demo

Dependencies:   Stepper_Motor_X27168 mbed

Fork of Stepper_Motor_Demo by Hanbin Ying

Files at this revision

API Documentation at this revision

Comitter:
yhbyhb4433
Date:
Wed Mar 16 19:29:29 2016 +0000
Parent:
1:5de876de6423
Commit message:
Final version of stepper motor demo program

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 5de876de6423 -r 5c8e6d22f773 main.cpp
--- a/main.cpp	Wed Mar 16 18:05:40 2016 +0000
+++ b/main.cpp	Wed Mar 16 19:29:29 2016 +0000
@@ -6,7 +6,7 @@
 
     smotor.init(); //initialize the motor
     
-    smotor.set_speed(500); //set the speed to 500 steps per second
+    smotor.set_speed(800); //set the speed to 500 steps per second
     
     smotor.angle_position(45);
     wait(1);